-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
52 lines (46 loc) · 1.26 KB
/
deny.toml
File metadata and controls
52 lines (46 loc) · 1.26 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
# cargo-deny policy
# https://embarkstudios.github.io/cargo-deny/
#
# Checked by `cargo deny check` in `bin/check-rs`. Four sections:
# advisories (RUSTSEC), licenses (allowlist), bans (duplicates / wildcards),
# sources (registries).
[graph]
all-features = true
[advisories]
version = 2
yanked = "deny"
# Tracked in https://github.com/dkdc-io/zorto/issues/133. Remove each
# entry once the upstream dep graph ships a fix.
ignore = [
"RUSTSEC-2025-0141", # bincode 1.3.3 unmaintained (via syntect)
"RUSTSEC-2024-0384", # instant 0.1.13 unmaintained (via notify-types)
"RUSTSEC-2024-0320", # yaml-rust 0.4.5 unmaintained (via syntect)
]
[licenses]
version = 2
confidence-threshold = 0.9
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Zlib",
"CC0-1.0",
"0BSD",
]
# Mozilla CA root bundle ships under CDLA-Permissive-2.0 because it
# distributes a dataset (the CA list), not code. Permissive-use license,
# safe for our TLS trust root consumer (ureq).
[[licenses.exceptions]]
name = "webpki-roots"
allow = ["CDLA-Permissive-2.0"]
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
[sources]
unknown-registry = "warn"
unknown-git = "warn"