Skip to content

Commit d00fd08

Browse files
authored
chore: Update cargo-deny config (#1169)
1 parent df8dd89 commit d00fd08

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

.github/workflows/CI.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
- name: Check all targets
3939
run: cargo check --all --all-targets --all-features
4040

41-
# deny-check:
42-
# name: cargo-deny check
43-
# runs-on: ubuntu-latest
44-
# steps:
45-
# - uses: actions/checkout@v1
46-
# - uses: EmbarkStudios/cargo-deny-action@v1
41+
deny-check:
42+
name: cargo-deny check
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v3
46+
- uses: EmbarkStudios/cargo-deny-action@v1
4747

4848
msrv:
4949
name: Check MSRV

deny.toml

+7-8
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,26 @@ deny = [
1414
# term is not fully maintained, and termcolor is replacing it
1515
{ name = "term" },
1616
]
17-
skip-tree = [
18-
{ name = "winapi", version = "<= 0.3" },
19-
{ name = "autocfg", version = "<= 1" },
20-
{ name = "version_check", version = "<= 0.9" },
21-
{ name = "scoped-tls", version = ">=0.1" },
22-
{ name = "ansi_term", version = "<= 0.12"},
23-
{ name = "wasi", version = "<= 0.10.0"},
17+
skip-tree = [
18+
{ name = "windows-sys" },
19+
{ name = "rustls-pemfile" },
20+
{ name = "hermit-abi" },
2421
]
2522

2623
[licenses]
2724
unlicensed = "deny"
2825
# We want really high confidence when inferring licenses from text
2926
confidence-threshold = 0.92
27+
copyleft = "deny"
3028
allow = [
3129
"Apache-2.0",
32-
"BSD-2-Clause",
3330
"BSD-3-Clause",
3431
"ISC",
3532
"MIT",
3633
"OpenSSL",
3734
"Zlib",
35+
"Unicode-DFS-2016",
36+
"MPL-2.0",
3837
]
3938

4039
[[licenses.clarify]]

0 commit comments

Comments
 (0)