-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathdeny.toml
More file actions
58 lines (52 loc) · 1.88 KB
/
deny.toml
File metadata and controls
58 lines (52 loc) · 1.88 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
[sources.allow-org]
github = [
"mintlayer", # allow any code from mintlayer's github
"paritytech", # we have to use an unreleased version of parity-scale-codec at this moment
]
[licenses]
# We reject code without a license.
# TODO: we also use the "MITNFA" license (AKA "MIT +no-false-attribs"); this comes from the `hex_lit`
# crate, which is indirectly used by `trezor-client`. The license itself is fine, but for some reason
# `cargo deny` doesn't complain about it even though it's not in the list (but note that it does complain
# about it in the `bridge_v2` repo, which inherits `hex_lit` from `mintlayer-core`).
# Need to investigate why it happens.
confidence-threshold = 0.92
allow = [
"0BSD",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-3.0",
"Unlicense", # this is a specific license rather than no license at all
"Zlib",
] # deny a license not in this set of licenses
[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[[licenses.clarify]]
name = "webpki"
expression = "LicenseRef-webpki"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
[advisories]
version = 2
db-path = "~/.cargo/advisory-dbs"
db-urls = ["https://github.com/RustSec/advisory-db"]
yanked = "warn"
ignore = [
# "paste" is no longer maintained.
"RUSTSEC-2024-0436",
# "bincode" is no longer maintained.
"RUSTSEC-2025-0141",
# `rand` is unsound. Note that this has been patched in versions 0.10.1, 0.9.3 and 0.8.6, but we still
# have one place where `rand` 0.7.x is used - it's a dependency of `probabilistic-collections` v0.7.0.
# But we don't use any code from `probabilistic-collections` that actually creates an RNG, so our code
# is still sound.
"RUSTSEC-2026-0097"
]