Skip to content

Commit f0fbff0

Browse files
committed
Bump cargo-deny and fix its deprecation warnings (now errors).
1 parent 89667fd commit f0fbff0

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- uses: actions/checkout@v3
9191
with:
9292
submodules: true
93-
- uses: EmbarkStudios/cargo-deny-action@v1
93+
- uses: EmbarkStudios/cargo-deny-action@v2
9494

9595
publish-check:
9696
name: Publish Check

deny.toml

+4-17
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,17 @@
22
# More documentation for the advisories section can be found here:
33
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
44
[advisories]
5-
# The lint level for security vulnerabilities
6-
vulnerability = "deny"
7-
# The lint level for unmaintained crates
8-
unmaintained = "deny"
5+
# NOTE(eddyb) see https://github.com/EmbarkStudios/cargo-deny/pull/611.
6+
version = 2
97
# The lint level for crates that have been yanked from their source registry
108
yanked = "deny"
11-
# The lint level for crates with security notices. Note that as of
12-
# 2019-12-17 there are no security notice advisories in
13-
# https://github.com/rustsec/advisory-db
14-
notice = "deny"
159

1610
# This section is considered when running `cargo deny check licenses`
1711
# More documentation for the licenses section can be found here:
1812
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
1913
[licenses]
20-
# The lint level for crates which do not have a detectable license
21-
unlicensed = "deny"
14+
# NOTE(eddyb) see https://github.com/EmbarkStudios/cargo-deny/pull/611.
15+
version = 2
2216
# List of explicitly allowed licenses
2317
# See https://spdx.org/licenses/ for list of possible licenses
2418
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
@@ -27,8 +21,6 @@ allow = [
2721
"Apache-2.0",
2822
"Unicode-DFS-2016",
2923
]
30-
# Lint level for licenses considered copyleft
31-
copyleft = "deny"
3224

3325
# This section is considered when running `cargo deny check bans`.
3426
# More documentation about the 'bans' section can be found here:
@@ -38,11 +30,6 @@ copyleft = "deny"
3830
multiple-versions = "deny"
3931
# Lint level for when a crate version requirement is `*`
4032
wildcards = "deny"
41-
# Certain crates/versions that will be skipped when doing duplicate detection.
42-
skip = [
43-
# FIXME(eddyb) `syn 2` has not replaced `syn 1` across the ecosystem yet.
44-
{ name = "syn", version = "2" },
45-
]
4633

4734
# This section is considered when running `cargo deny check sources`.
4835
# More documentation about the 'sources' section can be found here:

0 commit comments

Comments
 (0)