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 e44e351 commit 5a73b4b
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
[graph]
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"
allow = ["MIT", "Apache-2.0", "BSD-3-Clause"]
deny = []
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" }]
# Deny all copyleft license except the ones above.
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
version = 2
allow = ["MIT", "Apache-2.0"]

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

0 comments on commit 5a73b4b

Please sign in to comment.