Skip to content

Commit

Permalink
Add more clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alisinabh committed May 8, 2024
1 parent ca3a1b4 commit 981df0c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
utoipa = "4"
utoipa-swagger-ui = { version = "7", features = ["actix-web"] }

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
enum_glob_use = "deny"
uninlined-format-args = "warn"
needless-pass-by-value = "warn"
single-match-else = "warn"
wildcard-imports = "warn"

0 comments on commit 981df0c

Please sign in to comment.