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
74
75
# cargo-deny configuration — runs in CI via
# .github/workflows/security.yml, reproducible locally with:
# cargo install --locked cargo-deny
# cargo deny check
#
# Reference: https://embarkstudios.github.io/cargo-deny/
[]
# Audit every target so we don't miss a vulnerable crate hidden
# behind a `cfg(windows)` branch we never build locally.
= false
= false
[]
= 1
# ─── advisories ───────────────────────────────────────────────
# RustSec security advisory DB. `deny` everything by default so a
# stale Cargo.lock can't ship with a known CVE.
[]
= "$CARGO_HOME/advisory-dbs"
= ["https://github.com/rustsec/advisory-db"]
= "deny"
= []
# ─── licenses ────────────────────────────────────────────────
# Permissive licenses only. DRIP itself is Apache-2.0; we accept
# dependencies that are equally or more permissive. Copyleft
# (GPL/LGPL/AGPL) is rejected so the binary stays freely
# redistributable.
[]
= 0.93
= [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0", # ICU / unicode-ident
"Unicode-DFS-2016",
"Zlib",
"MPL-2.0", # weak copyleft, file-scoped only — acceptable
"CC0-1.0",
"Unlicense",
"0BSD",
]
# Per-crate license exceptions go here if a transitive dep ships
# under a tolerable-but-uncommon license. Empty by design — add an
# entry only after reviewing the crate's terms.
= []
# ─── bans ────────────────────────────────────────────────────
# Wildcard versions in our own Cargo.toml are forbidden — they
# silently pull in major bumps with breaking changes. Multiple
# versions of the same crate are *warned* (often unavoidable
# transitively) but flagged so we can see when a manual bump
# could consolidate.
[]
= "warn"
= "deny"
= "all"
= []
= []
= []
# ─── sources ─────────────────────────────────────────────────
# Only crates.io is allowed. A git dependency would mean the
# binary's reproducibility relies on a non-immutable source —
# blocked by default.
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []