Simplifies cargo deny configuration

pull/190/head
Tpt 3 years ago
parent 967dbacad7
commit 4d18053ec9
  1. 21
      deny.toml

@ -1,10 +1,3 @@
[advisories]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"
ignore = []
[licenses]
unlicensed = "deny"
allow = [
@ -13,15 +6,8 @@ allow = [
"Apache-2.0 WITH LLVM-exception",
"CECILL-B"
]
copyleft = "deny"
allow-osi-fsf-free = "either"
default = "deny"
confidence-threshold = 0.8
exceptions = [
# Optional dependency (from sophia_api)
{ allow = ["MPL-2.0"], name = "resiter", version = "*" }
]
[[licenses.clarify]]
name = "ring"
@ -31,13 +17,6 @@ license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]

Loading…
Cancel
Save