-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
72 lines (66 loc) · 2.19 KB
/
Copy pathdeny.toml
File metadata and controls
72 lines (66 loc) · 2.19 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
# cargo-deny configuration.
#
# Run locally with `cargo deny check` (install: `cargo install --locked
# cargo-deny`). CI runs the same command on every PR — see
# `.github/workflows/ci.yml`.
#
# Sentinel's own license is GPL-3.0-or-later; this config allows
# transitive dependencies under any standard FOSS license that's
# compatible with that.
[graph]
all-features = false
no-default-features = false
[output]
feature-depth = 1
# ----------------------------------------------------------------------
# Advisories — overlap with `cargo audit` is intentional. cargo-deny
# checks the same RustSec database; keeping the ignore list mirrored
# here means a single source of truth for "we know about this and
# accept the risk".
# ----------------------------------------------------------------------
[advisories]
yanked = "deny"
ignore = []
# ----------------------------------------------------------------------
# Licenses — standard FOSS allowlist. Anything outside this list will
# fail CI; either add it here (with a justification comment) or replace
# the dependency.
# ----------------------------------------------------------------------
[licenses]
allow = [
"GPL-3.0-or-later",
"GPL-3.0-only",
"GPL-3.0",
"LGPL-3.0-or-later",
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MPL-2.0",
"Unlicense",
"Zlib",
"Unicode-3.0",
"Unicode-DFS-2016",
"CC0-1.0",
"OFL-1.1",
"BSL-1.0",
"0BSD",
"CDLA-Permissive-2.0",
]
confidence-threshold = 0.8
# ----------------------------------------------------------------------
# Bans — currently no banned crates. Use this section to block a
# specific dep (e.g. `openssl-sys` if we wanted to enforce rustls only).
# ----------------------------------------------------------------------
[bans]
multiple-versions = "warn"
wildcards = "warn"
# ----------------------------------------------------------------------
# Sources — crates.io is the only registry; the tree has no git
# dependencies, so any unexpected git source fails CI.
# ----------------------------------------------------------------------
[sources]
unknown-registry = "deny"
unknown-git = "deny"