-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
53 lines (48 loc) · 1.29 KB
/
Copy pathdeny.toml
File metadata and controls
53 lines (48 loc) · 1.29 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
# cargo-deny config for bitcoin-rs
# https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = true
no-default-features = false
[advisories]
version = 2
yanked = "deny"
ignore = []
[licenses]
version = 2
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"CC0-1.0",
"0BSD",
"MPL-2.0",
]
confidence-threshold = 0.9
exceptions = [
# rust-bitcoin 0.32.9 pulls this normal dependency; keep MITNFA scoped to
# the audited resolved version instead of admitting it across the graph.
{ crate = "hex_lit@0.1.1", allow = ["MITNFA"] },
# The supported fjall backend pulls xxhash-rust through lsm-tree/sfa. Keep
# BSL-1.0 scoped to the audited resolved version instead of dropping G7.
{ crate = "xxhash-rust@0.8.15", allow = ["BSL-1.0"] },
]
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
deny = [
# Forbid disallowed crates discovered during the 2026-05-19 dependency audit:
{ name = "openssl", reason = "use rustls" },
{ name = "openssl-sys", reason = "use rustls" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []