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
# Configuration for cargo-deny
# See https://embarkstudios.github.io/cargo-deny/
[]
# Don't allow code with unclear licensing
= "deny"
# Allow these licenses
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"GPL-3.0",
]
# Deny these licenses
= []
# Warn on licenses that aren't explicitly allowed or denied
= "warn"
= "neither"
= "deny"
[]
# Warn if multiple versions of the same crate are used
= "warn"
# Don't warn about these specific crates having multiple versions
= []
# Deny specific crates
= []
[]
# Deny crates with security vulnerabilities
= "deny"
# Warn about unmaintained crates
= "warn"
# Warn about yanked crates
= "warn"
[]
# Deny crates from unknown registries
= "deny"
# Deny crates from git sources (prefer crates.io)
= "warn"