44 lines
866 B
TOML
44 lines
866 B
TOML
# cargo-deny configuration: licenses, advisories, bans and sources.
|
|
# Run with `just deny` (part of `just check`).
|
|
|
|
[graph]
|
|
all-features = false
|
|
|
|
[advisories]
|
|
# Unmaintained crates are reported but don't fail the build; vulnerabilities do.
|
|
unmaintained = "workspace"
|
|
yanked = "deny"
|
|
|
|
[licenses]
|
|
confidence-threshold = 0.9
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"0BSD",
|
|
"ISC",
|
|
"Zlib",
|
|
"Unicode-3.0",
|
|
"CC0-1.0",
|
|
"MPL-2.0",
|
|
"Unlicense",
|
|
# Bundled fonts in epaint_default_fonts.
|
|
"OFL-1.1",
|
|
"Ubuntu-font-1.0",
|
|
]
|
|
|
|
[licenses.private]
|
|
ignore = true
|
|
|
|
[bans]
|
|
multiple-versions = "allow"
|
|
wildcards = "deny"
|
|
allow-wildcard-paths = true
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|