Skip to content

Commit

Permalink
Work around cargo lint bug rust-lang/cargo#12918
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdea committed Sep 14, 2024
1 parent 01f8320 commit a0aef33
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ categories = ["command-line-utilities"]
[dependencies]

[lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"
cargo = "warn"
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }

# missing_errors_doc = "allow"
# doc_markdown = "allow"
# wildcard_imports = "allow"

[profile.release]
# see https://github.com/johnthagen/min-sized-rust
Expand Down

0 comments on commit a0aef33

Please sign in to comment.