mirror of
https://github.com/veeso/termscp.git
synced 2026-04-01 07:42:17 -07:00
chore: add centralized lint configuration to Cargo.toml
This commit is contained in:
12
Cargo.toml
12
Cargo.toml
@@ -116,6 +116,18 @@ keyring = []
|
||||
smb = ["dep:remotefs-smb"]
|
||||
smb-vendored = ["remotefs-smb/vendored"]
|
||||
|
||||
[lints.rust]
|
||||
trivial_numeric_casts = "warn"
|
||||
unsafe_op_in_unsafe_fn = "warn"
|
||||
unused_lifetimes = "warn"
|
||||
|
||||
[lints.clippy]
|
||||
complexity = { level = "warn", priority = -1 }
|
||||
correctness = { level = "warn", priority = -1 }
|
||||
perf = { level = "warn", priority = -1 }
|
||||
style = { level = "warn", priority = -1 }
|
||||
suspicious = { level = "warn", priority = -1 }
|
||||
|
||||
[profile.dev]
|
||||
incremental = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user