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
79
80
81
82
83
84
85
86
87
88
89
90
[]
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
# The default license terms to use when a license expression cannot be parsed
= "deny"
# Allow these license expressions, including any exceptions
= [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"Unicode-DFS-2016",
"Unicode-3.0",
"MPL-2.0",
"0BSD",
]
# Deny these license expressions, including any exceptions
= ["GPL-1.0", "GPL-2.0", "GPL-3.0", "AGPL-1.0", "AGPL-3.0"]
# Specify the confidence threshold for licenses.
# The higher the confidence, the more closely the license text must match.
# Licenses with confidence values less than this threshold will be rejected.
= 0.8
# Dual-licensed crates are automatically handled by the license expression parsing
[]
# This section is considered when running `cargo deny check bans`
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
# Deny specific crates
= []
# Warn when multiple versions of the same crate are detected
= "warn"
# Skip these crates when detecting multiple versions
= []
# Skip these specific versions when detecting multiple versions
= []
[]
# This section is considered when running `cargo deny check sources`
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
# Allow crates from these registries
= ["https://github.com/rust-lang/crates.io-index"]
# Allow crates from git repositories hosted on these domains
= [
"https://github.com",
"https://gitlab.com",
"https://bitbucket.org",
]
[]
# This section is considered when running `cargo deny check advisories`
# More documentation about the 'advisories' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
# The path where the advisory database is cloned/fetched into
= "~/.cargo/advisory-db"
# The URL(s) of the advisory databases to use
= ["https://github.com/rustsec/advisory-db"]
# The lint level for security vulnerabilities
= "deny"
# The lint level for unmaintained crates
= "warn"
# The lint level for crates that have been yanked from their source registry
= "warn"
# The lint level for crates with security notices
= "warn"
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
= []