-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
63 lines (56 loc) · 2.48 KB
/
Copy pathdeny.toml
File metadata and controls
63 lines (56 loc) · 2.48 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
# cargo-deny configuration for Grob (Apache-2.0)
# https://embarkstudios.github.io/cargo-deny/
# ── Advisories ───────────────────────────────────────────────────────────────
# Checks crates against the RustSec advisory database for known vulnerabilities.
[advisories]
version = 2
# Fail CI on any known vulnerability.
# Review date: 2026-07-24 — the ignore list is empty and should stay that way.
# Prefer moving off an affected crate over adding an entry here; an ignore is a
# standing decision that nobody re-reads.
ignore = []
# ── Licenses ─────────────────────────────────────────────────────────────────
# Grob is Apache-2.0. We allow permissive licenses, weak-copyleft licenses that
# are acceptable for this distribution model, and a handful of special-purpose
# licenses commonly found in the Rust ecosystem.
[licenses]
version = 2
# Deny everything not explicitly listed.
allow = [
# ── Permissive ──
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"BSL-1.0",
"OpenSSL",
"Unicode-3.0",
"Unicode-DFS-2016",
# ── Public-domain-equivalent ──
"Unlicense",
"CC0-1.0",
# ── Weak copyleft ──
"MPL-2.0",
# ── Ecosystem one-offs ──
"CDLA-Permissive-2.0",
]
# Minimum confidence for SPDX license detection.
confidence-threshold = 0.8
# ── Bans ─────────────────────────────────────────────────────────────────────
[bans]
# Warn (don't fail) when multiple versions of the same crate are pulled in.
multiple-versions = "warn"
# Allow wildcard dependencies — common during rapid development.
wildcards = "allow"
highlight = "all"
# ── Sources ──────────────────────────────────────────────────────────────────
# Only allow crates published to crates.io. Warn on anything else.
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []