Enforce shared Rust lint policy and document review rules

This commit is contained in:
Samuel Onoja committed 2026-10-22 01:28:03 +01:00
1 parent f2e728b503
commit 34f2f07301
24 files changed
+148 -1

No files matched your search

+13
View File
@@ -27,6 +27,19 @@ edition = "2024"
license = "MIT"
rust-version = "1.95"
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
[workspace.lints.clippy]
borrowed_box = "deny"
must_use_candidate = "warn"
needless_for_each = "warn"
ptr_arg = "deny"
ref_option = "deny"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "deny"
[workspace.dependencies]
ferese-shape = { git = "https://github.com/ferese-wm/ferese-shape", tag = "v0.1.0" }
bitflags = "2.9.4"