-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdeny.toml
66 lines (57 loc) · 1.46 KB
/
deny.toml
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
# https://embarkstudios.github.io/cargo-deny/index.html
[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "wasm32-unknown-unknown" },
{ triple = "wasm32-wasi" },
{ triple = "aarch64-linux-android" },
{ triple = "aarch64-apple-ios" },
]
all-features = true
no-default-features = false
[output]
feature-depth = 1
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "deny"
ignore = [
"RUSTSEC-2024-0388" # https://rustsec.org/advisories/RUSTSEC-2024-0388
]
[licenses]
allow = [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
]
confidence-threshold = 0.8
[licenses.private]
ignore = false
registries = []
[bans]
multiple-versions = "warn"
wildcards = "allow" # TODO change to deny when publishing to crates.io (and remove all git and path deps)
highlight = "all"
[bans.workspace-dependencies]
duplicates = 'deny'
unused = 'deny'
[sources]
unknown-registry = "deny"
unknown-git = "deny"
# TODO remove this git dependency after the stark-rings status is clarified
allow-git = [
"https://github.com/NethermindEth/stark-rings.git",
]
[sources.allow-org]
github = []
gitlab = []
bitbucket = []