mirror of
https://github.com/veeso/termscp.git
synced 2026-09-26 14:01:17 -07:00
chore: add centralized lint configuration to Cargo.toml
This commit is contained in:
+12
@@ -116,6 +116,18 @@ keyring = []
|
|||||||
smb = ["dep:remotefs-smb"]
|
smb = ["dep:remotefs-smb"]
|
||||||
smb-vendored = ["remotefs-smb/vendored"]
|
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]
|
[profile.dev]
|
||||||
incremental = true
|
incremental = true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user