CI: Update deny to version 2 config
This commit is contained in:
parent
978b453216
commit
96159ce122
1 changed files with 13 additions and 14 deletions
27
deny.toml
27
deny.toml
|
|
@ -1,20 +1,19 @@
|
||||||
[advisories]
|
[advisories]
|
||||||
|
version = 2
|
||||||
yanked = "deny"
|
yanked = "deny"
|
||||||
|
|
||||||
# A list of advisory IDs to ignore. Note that ignored advisories will still
|
|
||||||
# output a note when they are encountered.
|
|
||||||
ignore = [
|
ignore = [
|
||||||
|
#"RUSTSEC-0000-0000",
|
||||||
]
|
]
|
||||||
|
|
||||||
# This section is considered when running `cargo deny check licenses`
|
|
||||||
# More documentation for the licenses section can be found here:
|
|
||||||
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
|
|
||||||
[licenses]
|
[licenses]
|
||||||
copyleft = "allow"
|
version = 2
|
||||||
# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
|
allow = [
|
||||||
# * both - The license will be approved if it is both OSI-approved *AND* FSF
|
"Apache-2.0 WITH LLVM-exception",
|
||||||
# * either - The license will be approved if it is either OSI-approved *OR* FSF
|
"Apache-2.0",
|
||||||
# * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
|
"BSD-2-Clause",
|
||||||
# * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
|
"GPL-3.0",
|
||||||
# * neither - This predicate is ignored and the default lint level is used
|
"ISC",
|
||||||
allow-osi-fsf-free = "either"
|
"LGPL-2.1",
|
||||||
|
"MIT",
|
||||||
|
"Unicode-DFS-2016",
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue