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
# Configuration for cargo-deny
# https://embarkstudios.github.io/cargo-deny/
[]
# Ignore unmaintained advisories for dependencies we can't easily replace
= [
"RUSTSEC-2024-0436", # paste - unmaintained (used by rustpython-parser)
"RUSTSEC-2025-0075", # unic-char-range - unmaintained
"RUSTSEC-2025-0080", # unic-common - unmaintained
"RUSTSEC-2025-0081", # unic-char-property - unmaintained
"RUSTSEC-2025-0090", # unic-emoji-char - unmaintained
"RUSTSEC-2025-0098", # unic-ucd-version - unmaintained
"RUSTSEC-2025-0100", # unic-ucd-ident - unmaintained
]
# Warn about yanked crates but don't fail
= "warn"
[]
# Allow these licenses
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0", # Used by ICU crates for Unicode data
"CC0-1.0",
"0BSD",
"MIT-0", # MIT No Attribution (used by borrow-or-share via tower-lsp-server)
"Zlib",
"MPL-2.0",
"LGPL-3.0-only", # Used by malachite (via rustpython-parser)
]
# Confidence threshold for license detection
= 0.8
[]
# Lint level for when multiple versions of the same crate are detected
= "warn"
# Allow wildcard dependencies
= "allow"
# Deny these specific crates (empty for now)
= []
[]
# Ensure all dependencies come from trusted sources
= "deny"
= "deny"
[]
= []