cargo: Add some cargo configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add my default clippy config and the crates.io staging registry.
This commit is contained in:
parent
84b552e21b
commit
bdde642326
1 changed files with 10 additions and 0 deletions
10
.cargo/config
Normal file
10
.cargo/config
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[target.'cfg(feature = "cargo-clippy")']
|
||||||
|
rustflags = [
|
||||||
|
"-Dwarnings",
|
||||||
|
"-Dclippy::pedantic",
|
||||||
|
"-Dclippy::nursery",
|
||||||
|
"-Dclippy::cargo",
|
||||||
|
]
|
||||||
|
|
||||||
|
[registries]
|
||||||
|
staging = { index = "https://github.com/rust-lang/staging.crates.io-index" }
|
Loading…
Reference in a new issue