cargo: Add some cargo configuration
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:
finga 2023-12-08 02:01:13 +01:00
parent 84b552e21b
commit bdde642326

10
.cargo/config Normal file
View 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" }