fabrica

hanna/fabrica

1133 bytes
Raw
1# cargo-deny configuration. Run via `nix flake check` (checks.deny) or
2# `cargo deny check` in the dev shell.
3
4[graph]
5all-features = true
6
7[advisories]
8version = 2
9yanked = "deny"
10
11[licenses]
12version = 2
13# Permit the common permissive licenses plus MPL-2.0 (our own).
14allow = [
15 "MPL-2.0",
16 "MIT",
17 "Apache-2.0",
18 "Apache-2.0 WITH LLVM-exception",
19 "BSD-2-Clause",
20 "BSD-3-Clause",
21 "ISC",
22 "Unicode-3.0",
23 "Zlib",
24 "CC0-1.0",
25 # Additional permissive licenses pulled in transitively by the SSH stack
26 # (russh + aws-lc-rs and their deps). SSH is mandatory for a git server, so
27 # these are admitted; all three are permissive. See docs/decisions.md.
28 "Unicode-DFS-2016", # unicode-ident (older)
29 "0BSD", # e.g. adler/constant-time deps
30 "bzip2-1.0.6", # bzip2 compression support in the ssh stack
31]
32confidence-threshold = 0.9
33
34[bans]
35multiple-versions = "warn"
36wildcards = "deny"
37# In-tree crates are referenced by path without a version; that is not a real
38# wildcard dependency.
39allow-wildcard-paths = true
40
41[sources]
42unknown-registry = "deny"
43unknown-git = "deny"