aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorjamie <git@skilet.ro>2026-08-29 22:51:38 +0100
committerjamie <git@skilet.ro>2026-08-29 22:55:36 +0100
commit6ade07db214e8571a439b474e6c4e6a4c861d098 (patch)
tree0c4864b5d4a2abc0b05cfdb83596d87edb018dac /Cargo.toml
parent4c42e8c9d7ec1b2e94267038d5ee38a714ca2955 (diff)
feat(cli): adopt clap and strict clippy configHEADmain
Diffstat (limited to '')
-rw-r--r--Cargo.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7f1f199..e9c2a91 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,4 +19,22 @@ name = "mmx150-probe"
path = "src/bin/probe.rs"
[dependencies]
+clap = { version = "4.6.6", features = ["derive"] }
libc = "0.2"
+
+[lints.clippy]
+pedantic = { level = "deny", priority = -1 }
+nursery = { level = "deny", priority = -1 }
+unwrap_used = "deny"
+expect_used = "deny"
+indexing_slicing = "deny"
+arithmetic_side_effects = "deny"
+unreachable = "deny"
+unimplemented = "deny"
+unchecked_time_subtraction = "deny"
+todo = "deny"
+string_slice = "deny"
+panic_in_result_fn = "deny"
+panic = "deny"
+exit = "deny"
+as_conversions = "deny"