mirror of
https://github.com/Xevion/time-banner.git
synced 2025-12-06 15:16:47 -06:00
chore: configure clippy to ignore dead/unused code
This commit is contained in:
12
Cargo.toml
12
Cargo.toml
@@ -5,6 +5,18 @@ edition = "2021"
|
|||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
dead_code = "allow"
|
||||||
|
unused_imports = "allow"
|
||||||
|
unused_variables = "allow"
|
||||||
|
unused_mut = "allow"
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
# Allow common development-phase lints
|
||||||
|
all = { level = "warn", priority = -1 }
|
||||||
|
too_many_arguments = "allow"
|
||||||
|
type_complexity = "allow"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
resvg = "0.45.1"
|
resvg = "0.45.1"
|
||||||
axum = "0.8.4"
|
axum = "0.8.4"
|
||||||
|
|||||||
Reference in New Issue
Block a user