[clippy] stricter lints

This commit is contained in:
2024-09-12 20:14:55 +02:00
parent 1a7e57404e
commit c31d2fda26
2 changed files with 9 additions and 4 deletions

View File

@ -5,12 +5,17 @@ edition = "2021"
[dependencies]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = "warn"
pedantic = { level = "warn", priority = -1 }
todo = "warn"
unwrap_used = "warn"
[profile.release]
lto = true
debug = false
strip = true
panic = "unwind"
codegen-units = 1
panic = "unwind"