add clippy check

This commit is contained in:
n4n5 2024-06-28 11:28:25 +02:00
parent 4b0090b323
commit 2a0adcd736
No known key found for this signature in database
GPG key ID: 79414EADC6D4B457
2 changed files with 7 additions and 0 deletions

View file

@ -1,2 +1,4 @@
msrv = "1.70.0"
cognitive-complexity-threshold = 24
missing-docs-in-crate-items = true
check-private-items = true

View file

@ -548,3 +548,8 @@ inherits = "release"
opt-level = "z"
panic = "abort"
strip = true
[lints.clippy]
all = "deny"
cargo = "warn"
pedantic = "deny"