From adaeb252da31138a4cf82e088b7545ce999c0d8a Mon Sep 17 00:00:00 2001 From: forkless Date: Mon, 1 Jun 2026 21:16:04 +0200 Subject: [PATCH] Add cargo-deny, fix example, suppress warnings --- .github/workflows/release.yml | 3 ++- deny.toml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 deny.toml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30df2f5..3717280 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,9 @@ jobs: - run: cargo test --workspace - run: cargo clippy --workspace -- -D warnings - run: | - cargo install cargo-audit + cargo install cargo-audit cargo-deny cargo audit + cargo deny check advisories bans - run: cargo doc --no-deps --document-private-items --workspace - name: Upload doc artifact if: github.ref == 'refs/heads/master' diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..28d5013 --- /dev/null +++ b/deny.toml @@ -0,0 +1,2 @@ +[advisories] +ignore = ["RUSTSEC-2024-0436"]