Skip to content

Commit

Permalink
Upgrade deny.toml to version 2 (#704)
Browse files Browse the repository at this point in the history
Many "deny" settings have been removed because they are now the default.
See: EmbarkStudios/cargo-deny#611
  • Loading branch information
nicoburns committed Aug 4, 2024
1 parent da888af commit 902c322
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
ignore = [
"RUSTSEC-2021-0145" # from criterion, used only for benchmarking
]

[licenses]
unlicensed = "deny"
copyleft = "deny"
version = 2
allow = [
"MIT",
"Unicode-DFS-2016",
Expand All @@ -20,7 +17,6 @@ allow = [
"ISC",
"BSD-3-Clause"
]
default = "deny"

[bans]
multiple-versions = "deny"
Expand Down

0 comments on commit 902c322

Please sign in to comment.