Files
faunosteo/deny.toml
T

47 lines
1.0 KiB
TOML

# cargo-deny policy (RUST_ARCHITECTURE_REVIEW Part V). `cargo deny check licenses bans sources`
# blocks in CI; `cargo deny check advisories` runs in the nightly job and at release time, so
# an unrelated advisory publication never reddens every branch.
[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "wasm32-unknown-unknown" },
]
all-features = true
[advisories]
yanked = "deny"
ignore = []
[licenses]
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Zlib",
"MPL-2.0",
"CC0-1.0",
"Unlicense",
"BSL-1.0",
]
confidence-threshold = 0.9
[licenses.private]
ignore = true
[bans]
multiple-versions = "warn"
wildcards = "deny"
# The workspace path dependency on crates/core has no version requirement: not a wildcard.
allow-wildcard-paths = true
highlight = "all"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]