-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeny.toml
More file actions
52 lines (49 loc) · 1.79 KB
/
Copy pathdeny.toml
File metadata and controls
52 lines (49 loc) · 1.79 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
# cargo-deny advisories configuration.
# `unmaintained` takes scope values {all, workspace, transitive, none} —
# "workspace" fails the build only when a direct workspace dependency is
# marked unmaintained in the advisory DB, without failing on transitive
# deps the workspace doesn't control. `vulnerability` was removed from the
# schema in cargo-deny 0.14+ (cargo-deny now always denies vulnerabilities
# in its default pipeline).
[advisories]
unmaintained = "workspace"
yanked = "warn"
ignore = [
# protobuf 2.28.0 is pulled in transitively by prometheus 0.13 (our
# metrics exporter in reach-supervisor). RUSTSEC-2024-0437 is a stack
# overflow on parsing untrusted protobuf INPUT — reach-supervisor only
# EXPORTS metrics (serialises to text format over HTTP) and never
# parses protobuf input from the network, so the vector does not
# apply. Follow-up: upgrade to a metrics crate that uses protobuf 3.x
# or drop prometheus in favour of a text-only exporter. Tracked in
# the reach roadmap.
"RUSTSEC-2024-0437",
]
# cargo-deny 0.14+ removed the `unlicensed` key; the tool now treats
# unlicensed crates as deny-by-default inside the licenses pipeline.
[licenses]
allow = [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"OpenSSL",
"BSL-1.0",
"CC0-1.0",
"MPL-2.0",
# CDLA-Permissive-2.0: data-only permissive license used by
# `webpki-root-certs` (Mozilla CA bundle) which arrives transitively
# through `reqwest` -> `rustls-platform-verifier`. Permissive
# downstream-redistribution license; safe for binary distribution.
"CDLA-Permissive-2.0",
]
[bans]
multiple-versions = "warn"
wildcards = "allow"
[sources]
unknown-registry = "warn"
unknown-git = "warn"