-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdeny.toml
More file actions
78 lines (69 loc) · 2.07 KB
/
deny.toml
File metadata and controls
78 lines (69 loc) · 2.07 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
75
76
77
78
# cargo-deny configuration for claude-view monorepo
# https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = false
no-default-features = false
[output]
feature-depth = 1
# Advisory database checks — deny known vulnerabilities
[advisories]
git-fetch-with-cli = true
ignore = [
# Transitive deps — unmaintained but no security issue
{ id = "RUSTSEC-2024-0384", reason = "instant is a transitive dep of indicatif; no replacement available yet" },
{ id = "RUSTSEC-2025-0119", reason = "number_prefix is a transitive dep of indicatif; no replacement available yet" },
{ id = "RUSTSEC-2023-0071", reason = "rsa timing sidechannel via jsonwebtoken; no patch available, we only do JWT verification (public key) not decryption" },
{ id = "RUSTSEC-2024-0436", reason = "paste is unmaintained; transitive dep of utoipa-axum, no alternative yet" },
]
# License allow list — covers all current dependencies
[licenses]
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSD-1-Clause",
"BSL-1.0",
"ISC",
"Unicode-3.0",
"Zlib",
"0BSD",
"Unlicense",
"CC0-1.0",
"MPL-2.0",
"CDLA-Permissive-2.0",
]
confidence-threshold = 0.8
exceptions = [
# r-efi is LGPL-2.1+ but only used on UEFI targets (not relevant for us)
{ allow = ["LGPL-2.1-or-later"], crate = "r-efi" },
# fastdivide uses a Zlib-style acknowledgement license
{ allow = ["zlib-acknowledgement"], crate = "fastdivide" },
]
[licenses.private]
# Skip workspace crates (claude-view-*) — they don't need license checks
ignore = true
registries = []
# Crate ban checks
[bans]
multiple-versions = "allow"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
allow = []
deny = []
skip = []
skip-tree = []
# Source checks — only allow crates.io
[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[sources.allow-org]
github = []
gitlab = []
bitbucket = []