From d6a1d1880d8fb98b20e81093acbf4769cdffb646 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Mon, 30 Sep 2024 17:09:05 +0200 Subject: [PATCH] chore: fix errors on cargo-deny Use the latest version and use the GitHub Action for it. --- .github/workflows/build.yml | 8 +------- deny.toml | 6 ------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bef588d0..ddb1549e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -122,14 +122,8 @@ jobs: - name: Install Rust Toolchain uses: dtolnay/rust-toolchain@stable - - name: Install cargo-deny - uses: taiki-e/install-action@v2 - with: - tool: cargo-deny - - name: Cargo Deny - Check - run: cargo deny check - shell: bash + uses: EmbarkStudios/cargo-deny-action@v1 # todo: run on all crates cargo-hack-codetable: diff --git a/deny.toml b/deny.toml index 011ca913..18c39c30 100644 --- a/deny.toml +++ b/deny.toml @@ -10,10 +10,6 @@ ignore = [ # 1. serde_cbor is unmaintained "RUSTSEC-2021-0127" ] -notice = "deny" -unmaintained = "warn" -vulnerability = "deny" -yanked = "deny" [licenses] allow = [ @@ -24,9 +20,7 @@ allow = [ "MIT", "Unicode-DFS-2016", ] -default = "deny" confidence-threshold = 1.0 -unlicensed = "deny" [bans] allow = []