-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
64 lines (59 loc) · 2.15 KB
/
Copy pathdeny.toml
File metadata and controls
64 lines (59 loc) · 2.15 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
# cargo-deny configuration — license + advisory enforcement
# Run: `cargo deny check` (CI gate)
[graph]
all-features = true
[licenses]
unused-allowed-license = "allow"
confidence-threshold = 0.93
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MPL-2.0",
"Unicode-DFS-2016",
"Unicode-3.0",
"CC0-1.0",
"Zlib",
"0BSD",
"BUSL-1.1",
# webpki-roots v1.x switched from MPL-2.0 to CDLA-Permissive-2.0; pulled in
# transitively via reqwest -> rustls -> webpki-roots. Permissive licence,
# OSI-aligned in spirit (no copyleft, attribution-only).
"CDLA-Permissive-2.0",
]
# We deliberately do NOT allow GPL family.
[bans]
multiple-versions = "warn"
wildcards = "deny"
[advisories]
yanked = "deny"
ignore = [
# `paste` is unmaintained but still widely used as a transitive dep
# (alloy / sqlx / prost ecosystems). No vulnerability — just author
# archived the repo. Track upstream displacement; remove when our
# dep tree no longer pulls it.
"RUSTSEC-2024-0436",
# `rustls-pemfile` is deprecated in favour of `rustls-pki-types`; pulled
# transitively by reqwest -> rustls. No vulnerability.
"RUSTSEC-2025-0134",
# `rsa` Marvin timing sidechannel via `sqlx-mysql`. We set
# `default-features = false` + explicit features (no `any`/`mysql`) so
# `cargo tree -e features` shows zero sqlx-mysql nodes and the crate
# is never compiled — but `sqlx-macros-core` lists it as an optional
# dep so the resolver still pins it in Cargo.lock. cargo-audit reads
# the lockfile, hence the false-positive. Drop this when sqlx upstream
# restructures sqlx-macros-core to not list inactive backends. Audit
# 2026-05-13.
"RUSTSEC-2023-0071",
# `proc-macro-error2` is unmaintained (author archived the repo); pulled
# transitively by macro/derive crates in the alloy ecosystem. Maintenance-
# status advisory only — no vulnerability. Remove when the dep tree drops it.
"RUSTSEC-2026-0173",
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]