[clippy] add lints
This commit is contained in:
parent
816e3110bd
commit
40bcfe4a13
10
Cargo.toml
10
Cargo.toml
@ -3,6 +3,16 @@ name = "linkspeed"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
similar_names = "allow"
|
||||||
|
|
||||||
|
pedantic = { level = "warn", priority = -1 }
|
||||||
|
todo = "warn"
|
||||||
|
unwrap_used = "warn"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
eyre = "0.6"
|
eyre = "0.6"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user