+10
-7
Cargo.toml
+10
-7
Cargo.toml
···
36
36
rust-2021-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2018 edition to 2021
37
37
rust-2018-idioms = { level = "warn", priority = -1 } # Lints to nudge you toward idiomatic features of Rust 2018
38
38
rust-2024-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2021 edition to 2024
39
-
unused = { level = "warn", priority = -1 } # Lints that detect things being declared but not used, or excess syntax
39
+
# unused = { level = "warn", priority = -1 } # Lints that detect things being declared but not used, or excess syntax
40
40
## Individual
41
41
ambiguous_negative_literals = "warn" # checks for cases that are confusing between a negative literal and a negation that's not part of the literal.
42
42
closure_returning_async_block = "warn" # detects cases where users write a closure that returns an async block. # nightly
···
62
62
unit_bindings = "warn"
63
63
unnameable_types = "warn"
64
64
# unqualified_local_imports = "warn" # unstable
65
-
unreachable_pub = "warn"
65
+
# unreachable_pub = "warn"
66
66
unsafe_code = "warn"
67
67
unstable_features = "warn"
68
68
# unused_crate_dependencies = "warn"
···
73
73
variant_size_differences = "warn"
74
74
elided_lifetimes_in_paths = "allow"
75
75
# unstable-features = "allow"
76
+
# # Temporary Allows
77
+
dead_code = "allow"
78
+
unused_imports = "allow"
76
79
77
80
[lints.clippy]
78
81
# Groups
79
82
nursery = { level = "warn", priority = -1 }
80
83
correctness = { level = "warn", priority = -1 }
81
84
suspicious = { level = "warn", priority = -1 }
82
-
complexity = { level = "warn", priority = -1 }
83
-
perf = { level = "warn", priority = -1 }
84
-
style = { level = "warn", priority = -1 }
85
-
pedantic = { level = "warn", priority = -1 }
86
-
restriction = { level = "warn", priority = -1 }
85
+
# complexity = { level = "warn", priority = -1 }
86
+
# perf = { level = "warn", priority = -1 }
87
+
# style = { level = "warn", priority = -1 }
88
+
# pedantic = { level = "warn", priority = -1 }
89
+
# restriction = { level = "warn", priority = -1 }
87
90
cargo = { level = "warn", priority = -1 }
88
91
# Temporary Allows
89
92
multiple_crate_versions = "allow" # triggered by lib