blob: eb9e60cf4096d98334abd8d897d49eec35fc053c [file] [log] [blame] [edit]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
unmaintained = "deny"
yanked = "deny"
notice = "deny"
unsound = "deny"
vulnerability = "deny"
ignore = []
[licenses]
unlicensed = "deny"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
allow = [
"MIT",
"BSD-3-Clause",
"Apache-2.0",
]
exceptions = [
{ allow = [
"Unicode-DFS-2016",
], name = "unicode-ident" },
]
[bans]
multiple-versions = "allow" # We don't maintain Cargo lockfile, so this isn't really feasible to deny
wildcards = "deny" # Dependencies should not have be specified with '*'
[sources]
unknown-registry = "deny" # crates.io is allowed and a known register by default
unknown-git = "deny"