# cargo-deny config — supply-chain + licence audit. # cargo install cargo-deny && cargo deny check # Run locally / wire into CI once the advisory baseline is clean. [advisories] # RUSTSEC advisory DB. Fail on vulnerabilities; warn on unmaintained crates # (the nannou 0.19 / wgpu stack pulls a few, not worth blocking a build on). yanked = "deny" unmaintained = "workspace" [bans] multiple-versions = "warn" # the nannou + egui graph dups some crates; informational wildcard-dependencies = "deny" [licenses] # Permissive set the dependency tree actually uses. Add to this list rather # than loosening to "allow all" if a new dep introduces another licence. allow = [ "MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Zlib", "Unicode-3.0", "CC0-1.0", "MPL-2.0", ] confidence-threshold = 0.9 [sources] unknown-registry = "deny" unknown-git = "deny"