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:
parent
d6b82f0e72
commit
ea34691117
1 changed files with 7 additions and 0 deletions
7
.cargo/config
Normal file
7
.cargo/config
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[target.'cfg(feature = "cargo-clippy")']
|
||||||
|
rustflags = [
|
||||||
|
"-Dwarnings",
|
||||||
|
"-Dclippy::pedantic",
|
||||||
|
"-Dclippy::nursery",
|
||||||
|
"-Dclippy::cargo",
|
||||||
|
]
|
Loading…
Reference in a new issue