forked from StellarRouter/StellarRouter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
41 lines (38 loc) · 1.73 KB
/
Copy pathdeny.toml
File metadata and controls
41 lines (38 loc) · 1.73 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
# cargo-deny configuration — requires cargo-deny >=0.18
# Migration from old format: https://github.com/EmbarkStudios/cargo-deny/pull/611
#
# Removed keys (all deprecated/deleted in >=0.18):
# [advisories] vulnerability, [licenses] unlicensed, copyleft, deny
[advisories]
# "all" = report unmaintained/unsound crates across workspace + transitive deps.
# In >=0.18 these fields take a scope value, not a lint level.
unmaintained = "all"
unsound = "all"
yanked = "warn"
ignore = [
# RUSTSEC-2024-0437: Crash in protobuf 2.x via uncontrolled recursion when
# parsing deeply-nested externally-supplied data. In this project protobuf
# is the internal intermediate format for prometheus metrics serialisation
# (registry.gather() → TextEncoder) and is never used to parse external
# input. The vulnerability cannot be triggered in this usage.
{ id = "RUSTSEC-2024-0437", reason = "protobuf only serialises internal metrics; no external protobuf input is ever parsed" },
# Unmaintained indirect deps pulled in by prometheus / utoipa:
{ id = "RUSTSEC-2024-0436", reason = "paste is an unmaintained indirect dep with no known vulnerability" },
{ id = "RUSTSEC-2024-0370", reason = "proc-macro-error is an unmaintained indirect dep with no known vulnerability" },
{ id = "RUSTSEC-2026-0173", reason = "proc-macro-error2 is an unmaintained indirect dep with no known vulnerability" },
]
[licenses]
# In >=0.18, `unlicensed`, `copyleft`, and `deny` are removed.
# Only `allow` is used; anything not listed here is flagged.
allow = [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
]
[bans]
multiple-versions = "warn"
wildcards = "warn"