From 67b3743cdf9e4d8542a4aeee6e2e398d13254343 Mon Sep 17 00:00:00 2001 From: Martijn Gribnau Date: Tue, 20 Aug 2024 23:02:08 +0200 Subject: [PATCH] Update cargo deny --- .github/workflows/deny.yml | 2 +- deny.toml | 28 ++++++++-------------------- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 6f7782ffa..1c2647d8a 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -25,6 +25,6 @@ jobs: with: components: clippy - - uses: EmbarkStudios/cargo-deny-action@v1 + - uses: EmbarkStudios/cargo-deny-action@v2 with: log-level: error diff --git a/deny.toml b/deny.toml index 578c4c183..882fa8943 100644 --- a/deny.toml +++ b/deny.toml @@ -1,6 +1,12 @@ +[advisories] +ignore = [ + # unmaintained crate ansi_term + "RUSTSEC-2021-0139", + # unmaintained crate rusttype + "RUSTSEC-2021-0145", +] + [licenses] -unlicensed = "deny" -copyleft = "deny" confidence-threshold = 0.925 allow = [ "Apache-2.0", @@ -20,21 +26,3 @@ expression = "BSD-3-Clause" license-files = [ { path = "LICENSE.md", hash = 0xf0600744 }, ] - -[advisories] -vulnerability = "deny" -unmaintained = "deny" -notice = "deny" - -ignore = [ - # Potential segfault in the time crate - # NB: has been fixed in time >=0.2.23, however waiting on chrono crate to update - # chrono PR: https://github.com/chronotope/chrono/pull/578 - "RUSTSEC-2020-0071", - # Potential segfault in localtime_r invocations, see 2020-0071 - "RUSTSEC-2020-0159", - # unmaintained crate ansi_term - "RUSTSEC-2021-0139", - # unmaintained crate rusttype - "RUSTSEC-2021-0140", -]