diff --git a/.clippy.toml b/.clippy.toml index b1552463e..89fd1cccd 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,2 +1,4 @@ msrv = "1.70.0" cognitive-complexity-threshold = 24 +missing-docs-in-crate-items = true +check-private-items = true diff --git a/Cargo.toml b/Cargo.toml index aa6b4424d..1d8bba6d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -548,3 +548,8 @@ inherits = "release" opt-level = "z" panic = "abort" strip = true + +[lints.clippy] +all = "deny" +cargo = "warn" +pedantic = "deny"