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
[]
# Empty = evaluate ALL targets (the thorough audit). Every platform-specific dep
# in the tree is checked, not just the host's.
= []
# ---------------------------------------------------------------------------
# Advisories
# ---------------------------------------------------------------------------
[]
= 2
# Deny crates with unpatched security advisories.
= "deny"
# Triage queue. With an empty list, any new advisory hard-blocks CI until it is
# either fixed (bump the dep) or parked here after review. Park accepted ones as
# `{ id = "RUSTSEC-YYYY-NNNN", reason = "why it's safe / no fix yet" }`; revisit
# each on the next audit. cargo-deny v2 has no time-based grace period — this
# explicit list IS the triage record.
= []
# ---------------------------------------------------------------------------
# Licenses
# ---------------------------------------------------------------------------
[]
= 2
# Licenses actually present in the dependency tree (derived from `cargo metadata`).
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"0BSD",
"BSD-3-Clause",
"ISC",
"Zlib",
"Unlicense",
"MPL-2.0",
"LGPL-2.1-or-later",
"BSL-1.0",
"Unicode-3.0",
"CDLA-Permissive-2.0",
]
# Confidence threshold for SPDX expression matching.
= 0.8
# ---------------------------------------------------------------------------
# Bans
# ---------------------------------------------------------------------------
[]
# Deny duplicate versions of the same crate unless explicitly allowed below.
= "warn"
# Wildcards in Cargo.toml dep specs are sloppy; flag them.
= "deny"
# Deny known-broken / security-risky crates.
= [
# old unmaintained time 0.1 has known RUSTSEC advisories
{ = "time", = "<0.2" },
# openssl-sys — prefer rustls; flag if it ever sneaks in
{ = "openssl-sys" },
{ = "openssl" },
]
# ---------------------------------------------------------------------------
# Sources
# ---------------------------------------------------------------------------
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]