# cargo-deny config. Load-bearing rule: NEVER GPL/LGPL/AGPL. # Per `~/Code/CLAUDE.md`, taking on a copyleft dep is incompatible with the # ecosystem's licensing plan (MIT for tooling, PolyForm-NC for products). [graph] all-features = true [advisories] version = 2 yanked = "deny" [licenses] version = 2 confidence-threshold = 0.9 allow = [ "MIT", "MIT-0", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Zlib", "Unicode-3.0", "Unicode-DFS-2016", "MPL-2.0", "CC0-1.0", "BSL-1.0", ] [bans] multiple-versions = "warn" wildcards = "deny" # The workspace crates depend on each other by path and carry no version, which # reads as a wildcard. Nothing is published, so there is no registry resolution # to pin. Keeps the check meaningful for real registry deps. allow-wildcard-paths = true [sources] unknown-registry = "deny" unknown-git = "deny" allow-registry = ["https://github.com/rust-lang/crates.io-index"]