cargo: Force all annoying checks

Deny warnings, so that those have to be fixed and enable 'pedantic',
'nursery' and 'cargo' clippy checks.
This commit is contained in:
finga 2023-10-14 00:29:43 +02:00
parent e1cac4e164
commit 45cf653977

7
.cargo/config Normal file
View file

@ -0,0 +1,7 @@
[target.'cfg(feature = "cargo-clippy")']
rustflags = [
"-Dwarnings",
"-Dclippy::pedantic",
"-Dclippy::nursery",
"-Dclippy::cargo",
]