1717# this list would mean the nix crate, as well as any of its exclusive
1818# dependencies not shared by any other crates, would be ignored, as the target
1919# list here is effectively saying which targets you are building for.
20- targets = [
20+ # targets = [
2121 # The triple can be any string, but only the target triples built in to
2222 # rustc (as of 1.40) can be checked against actual config expressions
2323 # { triple = "x86_64-unknown-linux-musl" },
2424 # You can also specify which target_features you promise are enabled for a
2525 # particular target. target_features are currently not validated against
2626 # the actual valid features supported by the target architecture.
2727 # { triple = "wasm32-unknown-unknown", features = ["atomics"] },
28- ]
28+ # ]
2929
3030# This section is considered when running `cargo deny check advisories`
3131# More documentation for the advisories section can be found here:
@@ -35,16 +35,8 @@ targets = [
3535db-path = " ~/.cargo/advisory-db"
3636# The url(s) of the advisory databases to use
3737db-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"
4238# The lint level for crates that have been yanked from their source registry
4339yanked = " 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"
4840# A list of advisory IDs to ignore. Note that ignored advisories will still
4941# output a note when they are encountered.
5042ignore = [
@@ -70,36 +62,15 @@ ignore = [
7062# More documentation for the licenses section can be found here:
7163# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
7264[licenses ]
73- # The lint level for crates which do not have a detectable license
74- unlicensed = " deny"
7565# List of explicitly allowed licenses
7666# See https://spdx.org/licenses/ for list of possible licenses
7767# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
7868allow = [
7969 " MIT" ,
8070 " Apache-2.0" ,
8171 " BSD-3-Clause" ,
72+ " Unicode-3.0" ,
8273]
83- # List of explicitly disallowed licenses
84- # See https://spdx.org/licenses/ for list of possible licenses
85- # [possible values: any SPDX 3.11 short identifier (+ optional exception)].
86- deny = [
87- # "Nokia",
88- ]
89- # Lint level for licenses considered copyleft
90- copyleft = " warn"
91- # Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
92- # * both - The license will be approved if it is both OSI-approved *AND* FSF
93- # * either - The license will be approved if it is either OSI-approved *OR* FSF
94- # * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
95- # * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
96- # * neither - This predicate is ignored and the default lint level is used
97- allow-osi-fsf-free = " neither"
98- # Lint level used when no other predicates are matched
99- # 1. License isn't in the allow or deny lists
100- # 2. License isn't copyleft
101- # 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
102- default = " deny"
10374# The confidence threshold for detecting a license from license text.
10475# The higher the value, the more closely the license text must be to the
10576# canonical license text of a valid SPDX license file.
0 commit comments