-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeny.toml
More file actions
74 lines (68 loc) · 2.25 KB
/
Copy pathdeny.toml
File metadata and controls
74 lines (68 loc) · 2.25 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# cargo-deny config — invoked by .github/workflows/ci.yml.
# Rules of thumb:
# - advisories: separate `audit` job already covers vulns; keep this in
# sync but lighter on noise.
# - licenses: only allow OSI-approved permissive + the ones our deps
# actually use today. Adding a new license requires explicit approval.
# - bans: catch accidental sibling-version drift (multi-major-version
# crates pulled into the dep graph) at PR time, not at debug time.
# - sources: lock to crates.io. Anything pointing elsewhere needs an
# explicit allowlist entry.
[graph]
all-features = false
no-default-features = false
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/RustSec/advisory-db"]
yanked = "warn"
ignore = []
[licenses]
version = 2
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MPL-2.0",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
"CC0-1.0",
"OpenSSL",
# CDLA-Permissive-2.0 used by webpki-roots (transitive via ureq).
# Permissive in spirit — explicitly allows distribution + use; the
# restrictions only apply to redistributing the *data* if modified.
# OK for our binary linking against it.
"CDLA-Permissive-2.0",
# 0BSD ("BSD Zero Clause") used by enum-iterator + enum-iterator-derive
# (transitive via rphonetic). Effectively public-domain equivalent —
# even more permissive than MIT; OSI-approved.
"0BSD",
# NCSA — University of Illinois/NCSA Open Source License. OSI-approved;
# functionally equivalent to BSD-3-Clause. Pulled in transitively by
# libfuzzer-sys (optional via fastembed → rav1e behind the
# `semantic-onnx` feature). Not enabled in default builds, but Cargo
# still locks the resolution so cargo-deny scans it.
"NCSA",
]
confidence-threshold = 0.93
[[licenses.exceptions]]
# Used by ring's license aggregation. Standard exception in Rust eco.
name = "ring"
allow = ["ISC", "MIT", "OpenSSL"]
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
allow = []
deny = []
skip = []
skip-tree = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []