From b11f074ceba10af62b35b414ecaa51a8f13c6550 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 7 Oct 2025 11:01:19 -0400 Subject: initial baseline --- Cargo.toml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') 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" -- cgit v1.2.3-freya