clippy: add suggested clippy lints to top-level Cargo.toml and enable

clippy linting at the workspace level for all crates

Configure all workspaces to use lints from the top-level Cargo.toml
  file
Add example lints that the project could configure to improve security
  and reliability.
Configure lints to warn level. Using deny level makes other binaries
fail to compile if even one of them has a failure.
No lints are added in this commit. Future changes can enable and fix
lints
This commit is contained in:
foo
2024-06-03 09:56:09 -04:00
parent 49716b3e4c
commit 4eba00236d
44 changed files with 192 additions and 0 deletions

View File

@@ -59,3 +59,7 @@ smol = "2.0.0"
serde = { version = "1.0.203", features = ["derive"] }
structopt = "0.3.26"
structopt-toml = "0.5.1"
[lints]
workspace = true