2
2
# More documentation for the advisories section can be found here:
3
3
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
4
4
[advisories ]
5
- # The lint level for security vulnerabilities
6
- vulnerability = " deny"
7
- # The lint level for unmaintained crates
8
- unmaintained = " deny"
5
+ # NOTE(eddyb) see https://github.com/EmbarkStudios/cargo-deny/pull/611.
6
+ version = 2
9
7
# The lint level for crates that have been yanked from their source registry
10
8
yanked = " deny"
11
- # The lint level for crates with security notices. Note that as of
12
- # 2019-12-17 there are no security notice advisories in
13
- # https://github.com/rustsec/advisory-db
14
- notice = " deny"
15
9
16
10
# This section is considered when running `cargo deny check licenses`
17
11
# More documentation for the licenses section can be found here:
18
12
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
19
13
[licenses ]
20
- # The lint level for crates which do not have a detectable license
21
- unlicensed = " deny "
14
+ # NOTE(eddyb) see https://github.com/EmbarkStudios/cargo-deny/pull/611.
15
+ version = 2
22
16
# List of explicitly allowed licenses
23
17
# See https://spdx.org/licenses/ for list of possible licenses
24
18
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
@@ -27,8 +21,6 @@ allow = [
27
21
" Apache-2.0" ,
28
22
" Unicode-DFS-2016" ,
29
23
]
30
- # Lint level for licenses considered copyleft
31
- copyleft = " deny"
32
24
33
25
# This section is considered when running `cargo deny check bans`.
34
26
# More documentation about the 'bans' section can be found here:
@@ -38,11 +30,6 @@ copyleft = "deny"
38
30
multiple-versions = " deny"
39
31
# Lint level for when a crate version requirement is `*`
40
32
wildcards = " deny"
41
- # Certain crates/versions that will be skipped when doing duplicate detection.
42
- skip = [
43
- # FIXME(eddyb) `syn 2` has not replaced `syn 1` across the ecosystem yet.
44
- { name = " syn" , version = " 2" },
45
- ]
46
33
47
34
# This section is considered when running `cargo deny check sources`.
48
35
# More documentation about the 'sources' section can be found here:
0 commit comments