-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
46 lines (42 loc) · 1.89 KB
/
deny.toml
File metadata and controls
46 lines (42 loc) · 1.89 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
# denylist configuration
# Synchronized with .cargo/audit.toml; keep both ignore lists in sync.
[licenses]
allow = [
"MIT",
"Apache-2.0",
"ISC", # Required by 'untrusted' (ring dep)
"CDLA-Permissive-2.0", # Required by 'webpki-root-certs' (rustls-platform-verifier dep)
"BSD-2-Clause", # Required by 'zerocopy' and other system crates
"BSD-3-Clause", # Required by various ecosystem crates
"Zlib", # Required by 'miniz_oxide' and similar compression crates
"Unicode-3.0", # Required by 'unicode-ident'
"CC0-1.0", # Required by 'hexf-parse' (wgpu dependency)
"0BSD", # Required by 'quoted_printable' (lettre dep)
]
[advisories]
# Report unmaintained crates across all dependency types (direct + transitive).
unmaintained = "all"
# Deny yanked crates — a yanked crate may have been pulled for a security reason.
yanked = "deny"
ignore = [
# paste: unmaintained (transitive dep via tikv-jemalloc-ctl).
# Tracking: #1235 Revisit: 2026-06-01
"RUSTSEC-2024-0436",
# rsa: PKCS#1 v1.5 padding timing attack (transitive dep via tokio-rustls).
# Tracking: #1236 Revisit: 2026-06-01
"RUSTSEC-2023-0071",
]
[bans]
# Warn on duplicates; promote to deny once P1 deps are stabilised.
multiple-versions = "warn"
skip = [
{ crate = "wit-bindgen@0.57.1", reason = "temporary: transitive dep via component model; revisit when ecosystem stabilizes" },
{ crate = "hashbrown@0.17.0", reason = "temporary: transitive dep via multiple ecosystem crates; revisit when unified" },
]
[sources]
# Only allow crates from crates.io. Disallow git sources and local paths
# in production (workspace path deps are exempt by default).
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = ["https://github.com/garnizeh-labs/aetheris-protocol"]