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

Loading…
Cancel
Save