-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeny.toml
More file actions
54 lines (47 loc) · 1.2 KB
/
deny.toml
File metadata and controls
54 lines (47 loc) · 1.2 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
# cargo-deny configuration
# https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = true
# Vulnerability scanning via RustSec advisory database
[advisories]
ignore = [
# Transitive deps we can't directly upgrade
{ id = "RUSTSEC-2025-0069", reason = "daemonize - no alternative available yet" },
{ id = "RUSTSEC-2025-0057", reason = "fxhash via tracing-timing - needs upstream update" },
]
# License compliance - permissive allow-list
[licenses]
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"ISC",
"MIT",
"MIT-0",
"MPL-2.0",
"Unicode-3.0",
"Unlicense",
"Zlib",
]
confidence-threshold = 0.8
# cargo-husky has no license field in Cargo.toml but is MIT on GitHub
[[licenses.clarify]]
crate = "cargo-husky"
expression = "MIT"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[licenses.private]
ignore = true
# Crate bans and duplicate detection
[bans]
multiple-versions = "warn"
wildcards = "deny"
# Source origin restrictions
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []