enable clippy pedantic for nova-stats, fix all warnings

This commit is contained in:
Damocles 2026-04-17 23:28:24 +02:00
parent 64d0172bee
commit e30cae5c7f
5 changed files with 15 additions and 17 deletions

View file

@ -3,6 +3,12 @@ name = "nova-stats"
version = "0.1.0"
edition = "2021"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
[[bin]]
name = "nova-stats"
path = "src/main.rs"