Skip to content

Commit

Permalink
Address cargo-deny deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed May 20, 2024
1 parent cd26927 commit 8318a28
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[graph]
targets = [
# These are the targets we test for
{ triple = "x86_64-unknown-linux-gnu" },
Expand All @@ -6,23 +7,12 @@ targets = [
]

[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "warn"
version = 2
ignore = []

[licenses]
unlicensed = "deny"
version = 2
allow = ["MIT", "Apache-2.0"]
deny = []
# Deny all copyleft license except the ones above.
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8

[sources]
unknown-registry = "deny"
Expand Down

0 comments on commit 8318a28

Please sign in to comment.