Skip to content

Commit c2abea9

Browse files
authored
chore(deps): Upgrade cargo-deny to latest (#21761)
* chore(deps): Upgrade cargo-deny to latest Signed-off-by: Jesse Szwedko <[email protected]> * Delete extra if statement Signed-off-by: Jesse Szwedko <[email protected]> --------- Signed-off-by: Jesse Szwedko <[email protected]>
1 parent f799d49 commit c2abea9

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

aqua/aqua.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ packages:
1616
registry: local
1717
- name: crates.io/[email protected]
1818
registry: local
19-
- name: crates.io/cargo-deny@0.13.9
19+
- name: crates.io/cargo-deny@0.16.1
2020
registry: local
2121
- name: crates.io/[email protected]
2222
registry: local

deny.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
[licenses]
2-
unlicensed = "deny"
3-
default = "deny"
4-
copyleft = "deny"
52
allow = [
63
"0BSD",
74
"Apache-2.0",
@@ -53,4 +50,12 @@ ignore = [
5350
# alert is received during a handshake, `complete_io` does not terminate.
5451
# Vulnerable version only used in dev-dependencies
5552
"RUSTSEC-2024-0336",
53+
54+
# unmaintained dependencies
55+
"RUSTSEC-2021-0139", # ansi_term
56+
"RUSTSEC-2024-0388", # derivative
57+
"RUSTSEC-2024-0384", # instant`
58+
"RUSTSEC-2020-0168", # mach
59+
"RUSTSEC-2024-0370", # proc-macro-error
60+
"RUSTSEC-2024-0320", # yaml-rust
5661
]

scripts/environment/prepare.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ fi
1414
if [[ "$(cargo-nextest --version)" != "cargo-nextest 0.9.72" ]] ; then
1515
rustup run stable cargo install cargo-nextest --version 0.9.72 --force --locked
1616
fi
17-
if ! cargo deny --version >& /dev/null ; then
18-
rustup run stable cargo install cargo-deny --force --locked
17+
if [[ "$(cargo-deny --version)" != "cargo-deny 0.16.1" ]] ; then
18+
rustup run stable cargo install cargo-deny --version 0.16.1 --force --locked
1919
fi
2020
if ! dd-rust-license-tool --help >& /dev/null ; then
2121
rustup run stable cargo install dd-rust-license-tool --version 1.0.2 --force --locked

0 commit comments

Comments
 (0)