From 45cf653977b126b1f567edfe90bc07e269e89312 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 14 Oct 2023 00:29:43 +0200 Subject: [PATCH] cargo: Force all annoying checks Deny warnings, so that those have to be fixed and enable 'pedantic', 'nursery' and 'cargo' clippy checks. --- .cargo/config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..fb58920 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,7 @@ +[target.'cfg(feature = "cargo-clippy")'] +rustflags = [ + "-Dwarnings", + "-Dclippy::pedantic", + "-Dclippy::nursery", + "-Dclippy::cargo", +]