Skip to content

Commit

Permalink
chore: Update cargo-deny config (#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Dec 6, 2022
1 parent df8dd89 commit d00fd08
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- name: Check all targets
run: cargo check --all --all-targets --all-features

# deny-check:
# name: cargo-deny check
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: EmbarkStudios/cargo-deny-action@v1
deny-check:
name: cargo-deny check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1

msrv:
name: Check MSRV
Expand Down
15 changes: 7 additions & 8 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,26 @@ deny = [
# term is not fully maintained, and termcolor is replacing it
{ name = "term" },
]
skip-tree = [
{ name = "winapi", version = "<= 0.3" },
{ name = "autocfg", version = "<= 1" },
{ name = "version_check", version = "<= 0.9" },
{ name = "scoped-tls", version = ">=0.1" },
{ name = "ansi_term", version = "<= 0.12"},
{ name = "wasi", version = "<= 0.10.0"},
skip-tree = [
{ name = "windows-sys" },
{ name = "rustls-pemfile" },
{ name = "hermit-abi" },
]

[licenses]
unlicensed = "deny"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.92
copyleft = "deny"
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"OpenSSL",
"Zlib",
"Unicode-DFS-2016",
"MPL-2.0",
]

[[licenses.clarify]]
Expand Down

0 comments on commit d00fd08

Please sign in to comment.