From 49fd9ddef1395c7d85bab72e456e7f3765290b23 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 23 Oct 2024 10:08:15 +0200 Subject: [PATCH] Update cargo-deny-action to v2 --- .github/workflows/rust.yml | 2 +- deny.toml | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8131522..4624973 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -53,4 +53,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: EmbarkStudios/cargo-deny-action@v1 + - uses: EmbarkStudios/cargo-deny-action@v2 diff --git a/deny.toml b/deny.toml index 404487a..68bc2e1 100644 --- a/deny.toml +++ b/deny.toml @@ -1,13 +1,12 @@ [licenses] -allow-osi-fsf-free = "either" -copyleft = "deny" -allow = ["MPL-2.0"] - -[advisories] -ignore = ["RUSTSEC-2020-0071"] -unsound = "deny" -unmaintained = "deny" -yanked = "deny" +allow = [ + "Apache-2.0", + "BSD-3-Clause", + "ISC", + "MIT", + "OpenSSL", + "Unicode-DFS-2016", +] [[licenses.clarify]] name = "ring"