@@ -61,16 +61,7 @@ feature-depth = 1
61
61
db-path = " ~/.cargo/advisory-db"
62
62
# The url(s) of the advisory databases to use
63
63
db-urls = [" https://github.com/rustsec/advisory-db" ]
64
- # The lint level for security vulnerabilities
65
- vulnerability = " deny"
66
- # The lint level for unmaintained crates
67
- unmaintained = " warn"
68
- # The lint level for crates that have been yanked from their source registry
69
64
yanked = " warn"
70
- # The lint level for crates with security notices. Note that as of
71
- # 2019-12-17 there are no security notice advisories in
72
- # https://github.com/rustsec/advisory-db
73
- notice = " warn"
74
65
# A list of advisory IDs to ignore. Note that ignored advisories will still
75
66
# output a note when they are encountered.
76
67
ignore = [
@@ -96,8 +87,6 @@ ignore = [
96
87
# More documentation for the licenses section can be found here:
97
88
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
98
89
[licenses ]
99
- # The lint level for crates which do not have a detectable license
100
- unlicensed = " deny"
101
90
# List of explicitly allowed licenses
102
91
# See https://spdx.org/licenses/ for list of possible licenses
103
92
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
@@ -111,26 +100,6 @@ allow = [
111
100
" CC0-1.0" ,
112
101
" ISC" ,
113
102
]
114
- # List of explicitly disallowed licenses
115
- # See https://spdx.org/licenses/ for list of possible licenses
116
- # [possible values: any SPDX 3.11 short identifier (+ optional exception)].
117
- deny = [
118
- # "Nokia",
119
- ]
120
- # Lint level for licenses considered copyleft
121
- copyleft = " warn"
122
- # Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
123
- # * both - The license will be approved if it is both OSI-approved *AND* FSF
124
- # * either - The license will be approved if it is either OSI-approved *OR* FSF
125
- # * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
126
- # * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
127
- # * neither - This predicate is ignored and the default lint level is used
128
- allow-osi-fsf-free = " neither"
129
- # Lint level used when no other predicates are matched
130
- # 1. License isn't in the allow or deny lists
131
- # 2. License isn't copyleft
132
- # 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
133
- default = " deny"
134
103
# The confidence threshold for detecting a license from license text.
135
104
# The higher the value, the more closely the license text must be to the
136
105
# canonical license text of a valid SPDX license file.
0 commit comments