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
# Configuration for cargo-deny
# More info at https://embarkstudios.github.io/cargo-deny/
[]
= 2
# The path where the advisory databases are cloned/fetched into
= "~/.cargo/advisory-db"
# The url(s) of the advisory databases to use
= ["https://github.com/rustsec/advisory-db"]
# Ignore specific advisories by their RUSTSEC ID (if needed)
= []
[]
= 2
# Allow these licenses (all others are denied by default in v2)
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
"0BSD",
"MPL-2.0",
]
# Confidence threshold for license detection
= 0.8
[]
# Lint level for when multiple versions of the same crate are detected
= "warn"
# Lint level for when a crate version requirement is `*`
= "allow"
[]
# Lint level for what to happen when a crate from a crate registry that is not in the allow list is encountered
= "warn"
# Lint level for what to happen when a crate from a git repository that is not in the allow list is encountered
= "warn"