1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# cargo-deny configuration for path_jail
#
# Run locally:
# cargo install cargo-deny
# cargo deny check
#
# Enforced in CI by .github/workflows/ci.yml (job: deny).
[]
= true
= false
[]
= 1
# ── Security advisories ──────────────────────────────────────────────────────
# RustSec advisory database. New advisories MUST be triaged within the SLA
# documented in SECURITY.md.
[]
= "~/.cargo/advisory-db"
= ["https://github.com/rustsec/advisory-db"]
= "deny"
= []
# ── Licenses ────────────────────────────────────────────────────────────────
# Permissive licenses only. If a transitive dep brings in something else,
# the build fails until it's reviewed.
[]
= 0.93
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Unlicense",
"Zlib",
"CC0-1.0",
]
# ── Dependency bans ─────────────────────────────────────────────────────────
# path_jail is a security library. We deny both wildcards and duplicate
# versions: duplicates are where advisories hide (one copy patched, another
# isn't) and they bloat binaries. If a transitive dep forces a new duplicate
# in a future bump, the deny build fails and we resolve it deliberately
# (cargo update, [patch], or a documented `skip = [...]` here) rather than
# letting it drift.
[]
= "deny"
= "deny"
= "all"
# Empty by default; populate when a specific crate must be banned.
= []
# Add entries here ONLY with a justification when an upstream split forces
# a temporary duplicate we can't fix immediately.
= []
# ── Source restrictions ─────────────────────────────────────────────────────
# Crates must come from crates.io. No git deps, no private registries.
# (When this changes — e.g., to consume a private Tenuo crate — explicitly
# allowlist the registry/git URL here so the decision is reviewable.)
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []