-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeny.toml
More file actions
83 lines (76 loc) · 2.5 KB
/
deny.toml
File metadata and controls
83 lines (76 loc) · 2.5 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
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
yanked = "warn"
ignore = [
# https://rustsec.org/advisories/RUSTSEC-2024-0436 paste! is unmaintained
"RUSTSEC-2024-0436",
# https://rustsec.org/advisories/RUSTSEC-2025-0141 bincode is unmaintained
"RUSTSEC-2025-0141",
# https://rustsec.org/advisories/RUSTSEC-2026-0002 lru 0.12.x unsound IterMut
# pinned by reth fork at 0.12.5, fix requires 0.16.3 (semver-incompatible)
"RUSTSEC-2026-0002",
]
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
# Lint level for when a crate version requirement is `*`
wildcards = "allow"
highlight = "all"
deny = []
skip = []
skip-tree = []
[licenses]
version = 2
confidence-threshold = 0.8
# Ignore private workspace members entirely
private = { ignore = true }
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"0BSD",
"CC0-1.0",
"ISC",
"Unlicense",
"Unicode-3.0",
"Zlib",
# https://github.com/rustls/webpki/blob/main/LICENSE ISC Style
"LicenseRef-rustls-webpki",
# https://github.com/briansmith/ring/blob/main/LICENSE ISC + OpenSSL + SSLeay
"LicenseRef-ring",
"CDLA-Permissive-2.0",
"MPL-2.0",
]
exceptions = [
{ allow = ["MPL-2.0"], name = "option-ext" },
]
[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[[licenses.clarify]]
name = "rustls-webpki"
expression = "LicenseRef-rustls-webpki"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "warn"
unknown-git = "deny"
allow-git = [
"https://github.com/morph-l2/reth",
"https://github.com/rustyhorde/vergen",
]