mirror of
https://github.com/Xevion/time-banner.git
synced 2025-12-05 23:16:35 -06:00
tests: clippy warnings as warn, no deny
This commit is contained in:
12
Cargo.toml
12
Cargo.toml
@@ -5,18 +5,6 @@ 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"
|
||||||
|
|||||||
2
justfile
2
justfile
@@ -34,7 +34,7 @@ format-check:
|
|||||||
# Lint with clippy
|
# Lint with clippy
|
||||||
lint:
|
lint:
|
||||||
@echo "🔍 Running clippy..."
|
@echo "🔍 Running clippy..."
|
||||||
cargo clippy --all-targets --all-features -- -D warnings
|
cargo clippy --all-targets --all-features --
|
||||||
|
|
||||||
# Build project
|
# Build project
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user