chore: lints moved from main.rs to Cargo.toml

This commit is contained in:
Jack Wills
2023-11-19 22:48:40 +00:00
parent 37d2ee9156
commit 2de76e2f35
2 changed files with 19 additions and 17 deletions
+14
View File
@@ -11,6 +11,20 @@ readme = "README.md"
keywords = ["docker", "tui", "tokio", "terminal", "podman"]
categories = ["command-line-utilities"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
expect_used = "warn"
nursery = "warn"
pedantic ="warn"
todo = "warn"
unused_async = "warn"
unwrap_used = "warn"
module_name_repetitions = "allow"
doc_markdown = "allow"
similar_names = "allow"
[dependencies]
anyhow = "1.0"
# bollard = "0.15"