6
6
# More documentation for the advisories section can be found here:
7
7
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
8
8
[advisories ]
9
- vulnerability = " deny"
10
- unsound = " deny"
11
- unmaintained = " deny"
12
- yanked = " deny"
13
- notice = " warn"
9
+ version = 2
14
10
15
11
ignore = [
16
12
# Advisory: https://rustsec.org/advisories/RUSTSEC-2021-0145
@@ -28,8 +24,7 @@ ignore = [
28
24
# More documentation for the licenses section can be found here:
29
25
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
30
26
[licenses ]
31
- # The lint level for crates which do not have a detectable license
32
- unlicensed = " deny"
27
+ version = 2
33
28
# ignores workspace crates that aren't published, or are only published to private registries.
34
29
private = { ignore = true }
35
30
@@ -62,29 +57,6 @@ exceptions = [
62
57
{ allow = [" Unicode-DFS-2016" ], name = " unicode-ident" },
63
58
]
64
59
65
- # Lint level for licenses considered copyleft
66
- copyleft = " deny"
67
-
68
- # List of explicitly disallowed licenses
69
- # See https://spdx.org/licenses/ for list of possible licenses
70
- # [possible values: any SPDX 3.11 short identifier (+ optional exception)].
71
- deny = [
72
- ]
73
-
74
- # Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
75
- # * both - The license will be approved if it is both OSI-approved *AND* FSF
76
- # * either - The license will be approved if it is either OSI-approved *OR* FSF
77
- # * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
78
- # * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
79
- # * neither - This predicate is ignored and the default lint level is used
80
- allow-osi-fsf-free = " neither"
81
-
82
- # Lint level used when no other predicates are matched
83
- # 1. License isn't in the allow or deny lists
84
- # 2. License isn't copyleft
85
- # 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
86
- default = " deny"
87
-
88
60
# The confidence threshold for detecting a license from license text.
89
61
# The higher the value, the more closely the license text must be to the
90
62
# canonical license text of a valid SPDX license file.
@@ -125,7 +97,7 @@ allow = [
125
97
deny = [
126
98
# Use `once_cell` instead
127
99
# `OnceCell`s API is under consideration for inclusion in `std`: https://github.com/rust-lang/rust/issues/74465
128
- { name = " lazy_static" , wrappers = [" Inflector" , " criterion" , " insta" , " console" ] },
100
+ { name = " lazy_static" , wrappers = [" Inflector" , " criterion" , " insta" , " console" , " logos-codegen " ] },
129
101
# Advisory: https://rustsec.org/advisories/RUSTSEC-2020-0071
130
102
# `time` < 0.2.23 has a potential (though unlikely) potential segfault
131
103
{ name = " time" , version = " <0.2.23" , wrappers = [" chrono" ] },
0 commit comments