# cargo-deny configuration. Run via `nix flake check` (checks.deny) or # `cargo deny check` in the dev shell. [graph] all-features = true [advisories] version = 2 yanked = "deny" [licenses] version = 2 # Permit the common permissive licenses plus MPL-2.0 (our own). allow = [ "MPL-2.0", "MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Unicode-3.0", "Zlib", "CC0-1.0", # Additional permissive licenses pulled in transitively by the SSH stack # (russh + aws-lc-rs and their deps). SSH is mandatory for a git server, so # these are admitted; all three are permissive. See docs/decisions.md. "Unicode-DFS-2016", # unicode-ident (older) "0BSD", # e.g. adler/constant-time deps "bzip2-1.0.6", # bzip2 compression support in the ssh stack ] confidence-threshold = 0.9 [bans] multiple-versions = "warn" wildcards = "deny" # In-tree crates are referenced by path without a version; that is not a real # wildcard dependency. allow-wildcard-paths = true [sources] unknown-registry = "deny" unknown-git = "deny"