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
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[]
# The lint level for security vulnerabilities
= "deny"
# The lint level for unmaintained crates
= "deny"
# The lint level for crates that have been yanked from their source registry
= "deny"
# The lint level for crates with security notices. Note that as of
# 2019-12-17 there are no security notice advisories in
# https://github.com/rustsec/advisory-db
= "deny"
# 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 lint level for crates which do not have a detectable license
= "deny"
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
= [
"MIT",
"Apache-2.0",
"Unicode-DFS-2016",
]
# Lint level for licenses considered copyleft
= "deny"
# 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
[]
# Lint level for when multiple versions of the same crate are detected
= "deny"
# Lint level for when a crate version requirement is `*`
= "deny"
# Certain crates/versions that will be skipped when doing duplicate detection.
= [
# FIXME(eddyb) `syn 2` has not replaced `syn 1` across the ecosystem yet.
{ = "syn", = "2" },
]
# 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
[]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
= "deny"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
= "deny"