From ea346911179bf1f6a3d065e24fc983f50bd458c9 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", +]