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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# cargo-deny config for aion-context.
# See .claude/rules/supply-chain.md for the policy this encodes.
#
# Run:
# cargo deny check # full pass
# cargo deny check advisories # RUSTSEC only
# cargo deny check licenses # license allowlist only
[]
# Consider all features when checking.
= true
# ---------------------------------------------------------------------
# Licenses
# ---------------------------------------------------------------------
#
# Allowlist from `.claude/rules/supply-chain.md`. Forbidden-by-default:
# GPL family, AGPL, SSPL, CC-BY-SA, "custom" / unlicensed. Anything not
# on this list needs an explicit [[licenses.clarify]] block below with
# a rationale.
[]
= 2
= [
"Apache-2.0",
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"CC0-1.0",
"CDLA-Permissive-2.0",
"MPL-2.0",
"BSL-1.0",
]
= 0.93
# Example clarification — uncomment and fill in when a crate has an
# ambiguous or compound license spec.
# [[licenses.clarify]]
# crate = "crate-name"
# expression = "MIT OR Apache-2.0"
# license-files = [
# { path = "LICENSE-MIT", hash = 0x00000000 },
# ]
# ---------------------------------------------------------------------
# Banned crates
# ---------------------------------------------------------------------
[]
= "warn"
= "deny"
= "all"
# Deny-list: crates known to be problematic for this workspace.
# Note: openssl appears via transitive deps; allow but prefer rustls.
= [
# { crate = "openssl", reason = "prefer rustls where possible" },
]
= []
= []
# ---------------------------------------------------------------------
# Sources
# ---------------------------------------------------------------------
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []
# ---------------------------------------------------------------------
# Advisories (RUSTSEC)
# ---------------------------------------------------------------------
[]
= 2
= "~/.cargo/advisory-db"
= ["https://github.com/rustsec/advisory-db"]
= "deny"
# ignore entries format:
# { id = "RUSTSEC-YYYY-NNNN", reason = "..." }
# Every entry is a tax the next maintainer pays. Review at every
# dep-bump PR; entries older than six months are red flags.
= [
# `paste` is a procedural-macro helper that the upstream maintainer
# archived on 2024-10-07. Pulled in transitively (currently via
# zerocopy-derive / pqcrypto-mldsa dependency chain, macro-only —
# no runtime footprint). No CVE, no security impact. Remove once
# the transitive chain migrates to `pastey` (a drop-in fork) or
# to `with_builtin_macros`.
{ = "RUSTSEC-2024-0436", = "paste unmaintained; transitive macro helper; no CVE; migrate when upstream deps switch to pastey" },
]