Skip to content

Commit

Permalink
(IGNORE) Tighten cargo deny settings (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe authored Apr 11, 2023
1 parent 34b581f commit 63ada2e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,26 @@ targets = [

# Deny all advisories unless explicitly ignored.
[advisories]
vulnerability = "allow" # "deny" # TODO: Re-enable when possible.
unmaintained = "allow" # "deny" # TODO: Re-enable when possible.
yanked = "allow" # "deny" # TODO: Re-enable when possible.
notice = "allow" # "deny" # TODO: Re-enable when possible.
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"

ignore = [
"RUSTSEC-2021-0127" # serde_cbor
"RUSTSEC-2020-0071", # time 0.1.45 (see https://github.com/indygreg/cryptography-rs/issues/10)
"RUSTSEC-2021-0127", # serde_cbor
"RUSTSEC-2021-0146", # twoway (see https://github.com/contentauth/c2pa-rs/issues/234)
]

# Deny multiple versions unless explicitly skipped.
[bans]
multiple-versions = "allow" # "deny" # TODO: Re-enable when possible.
multiple-versions = "allow"
# multiple-versions = "deny"

wildcards = "allow"
# I'd rather have this be "deny", but the local path ref in make_test_images
# falsely reports as a wildcard. (See https://github.com/contentauth/c2pa-rs/issues/234.)

# List of allowed licenses.
[licenses]
allow = [
"Apache-2.0",
Expand Down

0 comments on commit 63ada2e

Please sign in to comment.