9
9
# The values provided in this template are the default values that will be used
10
10
# when any section or field is not specified in your own configuration
11
11
12
- # If 1 or more target triples (and optionally, target_features) are specified,
13
- # only the specified targets will be checked when running `cargo deny check`.
14
- # This means, if a particular package is only ever used as a target specific
15
- # dependency, such as, for example, the `nix` crate only being used via the
16
- # `target_family = "unix"` configuration, that only having windows targets in
17
- # this list would mean the nix crate, as well as any of its exclusive
18
- # dependencies not shared by any other crates, would be ignored, as the target
19
- # list here is effectively saying which targets you are building for.
20
- targets = [
21
- # The triple can be any string, but only the target triples built in to
22
- # rustc (as of 1.40) can be checked against actual config expressions
23
- # { triple = "x86_64-unknown-linux-musl" },
24
- # You can also specify which target_features you promise are enabled for a
25
- # particular target. target_features are currently not validated against
26
- # the actual valid features supported by the target architecture.
27
- # { triple = "wasm32-unknown-unknown", features = ["atomics"] },
28
- ]
29
-
30
12
# This section is considered when running `cargo deny check advisories`
31
13
# More documentation for the advisories section can be found here:
32
14
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
@@ -35,16 +17,8 @@ targets = [
35
17
db-path = " ~/.cargo/advisory-db"
36
18
# The url of the advisory database to use
37
19
db-urls = [" https://github.com/rustsec/advisory-db" ]
38
- # The lint level for security vulnerabilities
39
- vulnerability = " deny"
40
- # The lint level for unmaintained crates
41
- unmaintained = " warn"
42
20
# The lint level for crates that have been yanked from their source registry
43
21
yanked = " warn"
44
- # The lint level for crates with security notices. Note that as of
45
- # 2019-12-17 there are no security notice advisories in
46
- # https://github.com/rustsec/advisory-db
47
- notice = " warn"
48
22
# A list of advisory IDs to ignore. Note that ignored advisories will still
49
23
# output a note when they are encountered.
50
24
ignore = [
@@ -64,8 +38,6 @@ ignore = [
64
38
# More documentation for the licenses section can be found here:
65
39
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
66
40
[licenses ]
67
- # The lint level for crates which do not have a detectable license
68
- unlicensed = " deny"
69
41
# List of explictly allowed licenses
70
42
# See https://spdx.org/licenses/ for list of possible licenses
71
43
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
@@ -74,26 +46,6 @@ allow = [
74
46
# "BSD-3-Clause",
75
47
" MIT" ,
76
48
]
77
- # List of explictly disallowed licenses
78
- # See https://spdx.org/licenses/ for list of possible licenses
79
- # [possible values: any SPDX 3.7 short identifier (+ optional exception)].
80
- deny = [
81
- # "Nokia",
82
- ]
83
- # Lint level for licenses considered copyleft
84
- copyleft = " deny"
85
- # Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
86
- # * both - The license will be approved if it is both OSI-approved *AND* FSF
87
- # * either - The license will be approved if it is either OSI-approved *OR* FSF
88
- # * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
89
- # * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
90
- # * neither - This predicate is ignored and the default lint level is used
91
- allow-osi-fsf-free = " neither"
92
- # Lint level used when no other predicates are matched
93
- # 1. License isn't in the allow or deny lists
94
- # 2. License isn't copyleft
95
- # 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
96
- default = " deny"
97
49
# The confidence threshold for detecting a license from license text.
98
50
# The higher the value, the more closely the license text must be to the
99
51
# canonical license text of a valid SPDX license file.
0 commit comments