From 56bd08eccd5f5a16adc4baac4598d2e7c1b30482 Mon Sep 17 00:00:00 2001 From: yihau Date: Fri, 5 Apr 2024 02:28:56 +0800 Subject: [PATCH] ignore ed25519-dalek audit --- .github/scripts/cargo-audit.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/scripts/cargo-audit.sh b/.github/scripts/cargo-audit.sh index 3659e62..dd02a11 100755 --- a/.github/scripts/cargo-audit.sh +++ b/.github/scripts/cargo-audit.sh @@ -7,4 +7,9 @@ repo_root=$(git rev-parse --show-toplevel) # shellcheck disable=SC1091 source "$repo_root/.github/scripts/rust-version.sh" stable >/dev/null -cargo +"$rust_stable" audit +cargo_audit_ignores=( + # ed25519-dalek + --ignore RUSTSEC-2022-0093 +) + +cargo +"$rust_stable" audit "${cargo_audit_ignores[@]}"