Skip to content

Commit

Permalink
cargo-deny: Update deny,toml for v2 and remove the deny-specs that no…
Browse files Browse the repository at this point in the history
…w generate errors by default
  • Loading branch information
brycx committed Aug 16, 2024
1 parent 067538c commit a1550d1
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,20 @@ targets = [
]

[advisories]
unmaintained = "deny"
yanked = "deny"
notice = "deny"
unsound = "deny"
vulnerability = "deny"
ignore = []

[licenses]
unlicensed = "deny"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
allow = [
"MIT",
"BSD-3-Clause",
"Apache-2.0",
]
exceptions = [
{ allow = [
"Unicode-DFS-2016",
], name = "unicode-ident" },
]
allow = ["MIT", "BSD-3-Clause", "Apache-2.0"]
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" }]

[bans]
multiple-versions = "allow" # We don't maintain Cargo lockfile, so this isn't really feasible to deny
wildcards = "deny" # Dependencies should not have be specified with '*'
wildcards = "deny" # Dependencies should not have be specified with '*'

[sources]
unknown-registry = "deny" # crates.io is allowed and a known register by default
unknown-git = "deny"
unknown-git = "deny"

0 comments on commit a1550d1

Please sign in to comment.