chore: Update cargo-deny config (#1169)

This commit is contained in:
tottoto
2022-12-06 14:40:24 -05:00
committed by GitHub
parent df8dd896da
commit d00fd0838b
2 changed files with 13 additions and 14 deletions
+6 -6
View File
@@ -38,12 +38,12 @@ jobs:
- name: Check all targets - name: Check all targets
run: cargo check --all --all-targets --all-features run: cargo check --all --all-targets --all-features
# deny-check: deny-check:
# name: cargo-deny check name: cargo-deny check
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v1 - uses: actions/checkout@v3
# - uses: EmbarkStudios/cargo-deny-action@v1 - uses: EmbarkStudios/cargo-deny-action@v1
msrv: msrv:
name: Check MSRV name: Check MSRV
+7 -8
View File
@@ -14,27 +14,26 @@ deny = [
# term is not fully maintained, and termcolor is replacing it # term is not fully maintained, and termcolor is replacing it
{ name = "term" }, { name = "term" },
] ]
skip-tree = [ skip-tree = [
{ name = "winapi", version = "<= 0.3" }, { name = "windows-sys" },
{ name = "autocfg", version = "<= 1" }, { name = "rustls-pemfile" },
{ name = "version_check", version = "<= 0.9" }, { name = "hermit-abi" },
{ name = "scoped-tls", version = ">=0.1" },
{ name = "ansi_term", version = "<= 0.12"},
{ name = "wasi", version = "<= 0.10.0"},
] ]
[licenses] [licenses]
unlicensed = "deny" unlicensed = "deny"
# We want really high confidence when inferring licenses from text # We want really high confidence when inferring licenses from text
confidence-threshold = 0.92 confidence-threshold = 0.92
copyleft = "deny"
allow = [ allow = [
"Apache-2.0", "Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause", "BSD-3-Clause",
"ISC", "ISC",
"MIT", "MIT",
"OpenSSL", "OpenSSL",
"Zlib", "Zlib",
"Unicode-DFS-2016",
"MPL-2.0",
] ]
[[licenses.clarify]] [[licenses.clarify]]