summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-14 09:51:12 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-14 09:51:12 -0500
commit7b78c39cb604961564b1d4e0a491eafacc85e8cb (patch)
tree8618f2a4fc76a389bcabdeb94ff46ab6d74b1d77 /Cargo.toml
parentdungeon: refactor manual drop (diff)
downloadDungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.tar.gz
DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.tar.bz2
DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.zip
Enable more clippy lints
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 71f1f6d..688065b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -53,29 +53,47 @@ default-features = false
branches_sharing_code = "warn"
collection_is_never_read = "warn"
derive_partial_eq_without_eq = "warn"
+missing_const_for_fn = "warn"
+needless_collect = "warn"
return_self_not_must_use = "warn"
use_self = "warn"
# pedantic
cast_possible_wrap = "warn"
cast_possible_truncation = "warn"
+comparison_chain = "warn"
+elidable_lifetime_names = "warn"
+explicit_into_iter_loop = "warn"
+explicit_iter_loop = "warn"
inconsistent_struct_constructor = "warn"
+large_types_passed_by_value = "warn"
manual_assert = "warn"
+manual_is_variant_and = "warn"
+manual_let_else = "warn"
map_unwrap_or = "warn"
+match_bool = "warn"
+needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
+trivially_copy_pass_by_ref = "warn"
uninlined_format_args = "warn"
unused_self = "warn"
+unnecessary_debug_formatting = "warn"
+unnecessary_semicolon = "warn"
unnested_or_patterns = "warn"
used_underscore_binding = "warn"
+used_underscore_items = "warn"
+verbose_bit_mask = "warn"
# restriction
allow_attributes = "warn"
+cfg_not_test = "deny"
expect_used = "deny"
shadow_reuse = "warn"
+todo = "deny"
unwrap_used = "deny"
[profile.release]