From 2a0adcd736d7654a6274db2ae1bf95efa22f4006 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Fri, 28 Jun 2024 11:28:25 +0200 Subject: [PATCH] add clippy check --- .clippy.toml | 2 ++ Cargo.toml | 5 +++++ 2 files changed, 7 insertions(+) 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"