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 d6b82f0e72
commit ea34691117

7
.cargo/config Normal file
View file

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