forked from agntcy/slim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
52 lines (48 loc) · 1.12 KB
/
deny.toml
File metadata and controls
52 lines (48 loc) · 1.12 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
[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "armv7-unknown-linux-gnu" },
]
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
ignore = [
"RUSTSEC-2024-0436", # paste unmaintained
"RUSTSEC-2025-0141", # bincode unmaintained
]
[licenses]
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-3.0",
"OpenSSL",
"CDLA-Permissive-2.0",
"CC0-1.0",
"Zlib",
]
# Ignore local workspace license values for unpublished crates.
private = { ignore = true }
confidence-threshold = 0.8
exceptions = [
{ name = "duration-string", version = "0.5.3", allow = ["Apache-2.0", "MIT"] },
]
[bans]
# TODO: Remove duplicate dependencies.
multiple-versions = "allow"
wildcards = "allow"
highlight = "all"
deny = [
# rustls-webpki is the correct one
{ name = "webpki" },
]
skip = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]