From 41b3fc5d398f5ca5e4ff73a46e4959b1b17e961d Mon Sep 17 00:00:00 2001 From: CleverWild Date: Fri, 10 Apr 2026 01:00:21 +0200 Subject: [PATCH] fix(lints): remove unstable ones --- server/Cargo.toml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/server/Cargo.toml b/server/Cargo.toml index a58b31a..e56de12 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -44,10 +44,7 @@ unstable_features = "deny" deprecated_safe_2024 = "warn" ffi_unwind_calls = "warn" -fuzzy_provenance_casts = "warn" linker_messages = "warn" -lossy_provenance_casts = "warn" -must_not_suspend = "warn" elided_lifetimes_in_paths = "warn" explicit_outlives_requirements = "warn" @@ -59,7 +56,6 @@ unused_lifetimes = "warn" macro_use_extern_crate = "warn" redundant_imports = "warn" -unqualified_local_imports = "warn" unused_import_braces = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" @@ -128,8 +124,6 @@ mutex_integer = "warn" needless_raw_strings = "warn" non_ascii_literal = "warn" non_zero_suggestions = "warn" -panic = "warn" -panic_in_result_fn = "warn" pathbuf_init_then_push = "warn" pointer_format = "warn" precedence_bits = "warn" @@ -157,13 +151,22 @@ unnecessary_self_imports = "warn" unneeded_field_pattern = "warn" unused_result_ok = "warn" verbose_file_reads = "warn" + +# cargo lints +negative_feature_names = "warn" +redundant_feature_names = "warn" wildcard_dependencies = "warn" -# prod panicking macro. ENABLE BY THE FIRST MAJOR VERSION!! + +# ENABLE BY THE FIRST MAJOR VERSION!! # todo = "warn" # unimplemented = "warn" +# panic = "warn" +# panic_in_result_fn = "warn" +# +# cargo_common_metadata = "warn" +# multiple_crate_versions = "warn" # a controversial option since it's really difficult to maintain disallowed_methods = "deny" -cargo = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } pedantic = { level = "warn", priority = -1 }