summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-10-07 11:01:19 -0400
committerFreya Murphy <freya@freyacat.org>2025-10-08 19:37:15 -0400
commitb11f074ceba10af62b35b414ecaa51a8f13c6550 (patch)
treed12979f7eeb384f94b145ea763a97dcde353745b /Cargo.toml
parentInitial commit (diff)
downloadDungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.tar.gz
DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.tar.bz2
DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.zip
initial baseline
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..c553f8e
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,33 @@
+[workspace]
+members = ["dungeon", "game", "graphics"]
+resolver = "2"
+
+[workspace.lints.clippy]
+# nursery
+branches_sharing_code = "warn"
+collection_is_never_read = "warn"
+derive_partial_eq_without_eq = "warn"
+return_self_not_must_use = "warn"
+use_self = "warn"
+
+# pedantic
+cast_possible_wrap = "warn"
+cast_possible_truncation = "warn"
+inconsistent_struct_constructor = "warn"
+manual_assert = "warn"
+map_unwrap_or = "warn"
+needless_pass_by_value = "warn"
+redundant_closure_for_method_calls = "warn"
+redundant_else = "warn"
+semicolon_if_nothing_returned = "warn"
+single_match_else = "warn"
+uninlined_format_args = "warn"
+unused_self = "warn"
+unnested_or_patterns = "warn"
+used_underscore_binding = "warn"
+
+# restriction
+allow_attributes = "warn"
+expect_used = "deny"
+shadow_reuse = "warn"
+unwrap_used = "deny"