forked from zeroclaw-labs/zeroclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
268 lines (214 loc) · 5.82 KB
/
Copy pathdeny.toml
File metadata and controls
268 lines (214 loc) · 5.82 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
# cargo-deny configuration -- v2 schema
# https://embarkstudios.github.io/cargo-deny/
[advisories]
# In v2, vulnerability advisories always emit errors (not configurable).
# unmaintained: scope of unmaintained-crate checks (all | workspace | transitive | none)
unmaintained = "all"
# yanked: deny | warn | allow
yanked = "deny"
# Ignore known unmaintained transitive deps we cannot easily replace
ignore = [
# rustls-pemfile -- unmaintained, functionality moved to rustls-pki-types;
# transitive dep, upstream migration tracked
{ id = "RUSTSEC-2025-0134", reason = "rustls-pemfile unmaintained; transitive dep awaiting upstream migration to rustls-pki-types" },
# proc-macro-error2 -- unmaintained derive/attribute macro helper; still in
# the resolved graph via matrix-sdk dev-deps (aquamarine) in zeroclaw-channels
{ id = "RUSTSEC-2026-0173", reason = "proc-macro-error2 unmaintained; transitive macro helper via matrix-sdk dev-deps; tracking #8519" },
# bitmaps -- repository archived 2026-05-03, all versions affected, no safe
# upgrade available. Reached only transitively:
# matrix-sdk -> eyeball-im -> imbl -> bitmaps. Upstream tracking issue
# matrix-org/matrix-rust-sdk#6859 asks matrix-sdk to move off the imbl stack;
# drop this entry once a matrix-sdk release no longer pulls bitmaps.
{ id = "RUSTSEC-2026-0247", reason = "bitmaps unmaintained; transitive via matrix-sdk -> eyeball-im -> imbl; no safe upgrade; upstream matrix-org/matrix-rust-sdk#6859" },
]
[licenses]
# All licenses are denied unless explicitly allowed
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"OpenSSL",
"Zlib",
"MPL-2.0",
"CDLA-Permissive-2.0",
"0BSD",
"BSL-1.0",
"CC0-1.0",
]
unused-allowed-license = "allow"
[bans]
# Reject multiple versions of the same crate in the resolved dependency graph.
# This prevents silent version splits that inflate compile times, binary size,
# and the advisory surface. Existing duplicates are explicitly skipped below;
# remove skips as dependency bumps resolve them.
multiple-versions = "deny"
wildcards = "deny"
deny = [
{ crate = "lru:<0.18.2", wrappers = ["nostr-database", "nostr-relay-pool"], reason = "RUSTSEC-2026-0253; temporary Nostr cache exception tracked in #9602" },
]
# Pre-existing duplicate-version crates as of 2026-07-01.
# Each skip entry removes one specific duplicate version from the
# multiple-versions check. The canonical (unskipped) version is the
# newest one currently in the resolved graph; remove skip entries as
# dependency bumps eliminate the older duplicates. Version-scoping
# ensures that any future unlisted duplicate version fails CI.
[[bans.skip]]
name = "async-channel"
version = "=1.9.0"
[[bans.skip]]
name = "bitflags"
version = "=1.3.2"
[[bans.skip]]
name = "chacha20"
version = "=0.9.1"
[[bans.skip]]
name = "cpufeatures"
version = "=0.2.17"
[[bans.skip]]
name = "event-listener"
version = "=2.5.3"
[[bans.skip]]
name = "foldhash"
version = "=0.1.5"
[[bans.skip]]
name = "lru"
version = "=0.16.4"
reason = "temporary Nostr 0.44 duplicate tracked in #9602"
[[bans.skip]]
name = "getrandom"
version = "=0.2.17"
[[bans.skip]]
name = "getrandom"
version = "=0.3.4"
[[bans.skip]]
name = "hashbrown"
version = "=0.15.5"
[[bans.skip]]
name = "hashbrown"
version = "=0.16.1"
[[bans.skip]]
name = "mio"
version = "=0.8.11"
[[bans.skip]]
name = "nom"
version = "=7.1.3"
[[bans.skip]]
name = "rand"
version = "=0.9.4"
[[bans.skip]]
name = "rand_core"
version = "=0.6.4"
[[bans.skip]]
name = "rand_core"
version = "=0.9.5"
[[bans.skip]]
name = "r-efi"
version = "=5.3.0"
[[bans.skip]]
name = "rustc-hash"
version = "=1.1.0"
[[bans.skip]]
name = "self_cell"
version = "=0.10.3"
[[bans.skip]]
name = "strum"
version = "=0.27.2"
[[bans.skip]]
name = "strum_macros"
version = "=0.27.2"
[[bans.skip]]
name = "thiserror"
version = "=1.0.69"
[[bans.skip]]
name = "thiserror-impl"
version = "=1.0.69"
[[bans.skip]]
name = "webpki-roots"
version = "=0.26.11"
[[bans.skip]]
name = "windows_aarch64_gnullvm"
version = "=0.48.5"
[[bans.skip]]
name = "windows_aarch64_gnullvm"
version = "=0.52.6"
[[bans.skip]]
name = "windows_aarch64_msvc"
version = "=0.48.5"
[[bans.skip]]
name = "windows_aarch64_msvc"
version = "=0.52.6"
[[bans.skip]]
name = "windows_i686_gnu"
version = "=0.48.5"
[[bans.skip]]
name = "windows_i686_gnu"
version = "=0.52.6"
[[bans.skip]]
name = "windows_i686_msvc"
version = "=0.48.5"
[[bans.skip]]
name = "windows_i686_msvc"
version = "=0.52.6"
[[bans.skip]]
name = "windows-link"
version = "=0.1.3"
[[bans.skip]]
name = "windows-sys"
version = "=0.48.0"
[[bans.skip]]
name = "windows-sys"
version = "=0.52.0"
[[bans.skip]]
name = "windows-targets"
version = "=0.48.5"
[[bans.skip]]
name = "windows-targets"
version = "=0.52.6"
[[bans.skip]]
name = "windows_x86_64_gnu"
version = "=0.48.5"
[[bans.skip]]
name = "windows_x86_64_gnu"
version = "=0.52.6"
[[bans.skip]]
name = "windows_x86_64_gnullvm"
version = "=0.48.5"
[[bans.skip]]
name = "windows_x86_64_gnullvm"
version = "=0.52.6"
[[bans.skip]]
name = "windows_x86_64_msvc"
version = "=0.48.5"
[[bans.skip]]
name = "windows_x86_64_msvc"
version = "=0.52.6"
[[bans.skip]]
name = "winnow"
version = "=0.6.26"
[[bans.skip]]
name = "wit-bindgen"
version = "=0.51.0"
# cap-std (workspace-confined, no-follow file delivery) pulls an older slice of
# its own transitive tree; the canonical newest versions are kept unskipped.
[[bans.skip]]
name = "io-lifetimes"
version = "=2.0.4"
[[bans.skip]]
name = "windows-sys"
version = "=0.59.0"
[[bans.skip]]
name = "windows-sys"
version = "=0.60.2"
[[bans.skip]]
name = "windows_i686_gnullvm"
version = "=0.52.6"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []