Add cargo-deny, fix example, suppress warnings

This commit is contained in:
2026-06-01 21:16:04 +02:00
parent fe26ba35a8
commit adaeb252da
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -19,8 +19,9 @@ jobs:
- run: cargo test --workspace - run: cargo test --workspace
- run: cargo clippy --workspace -- -D warnings - run: cargo clippy --workspace -- -D warnings
- run: | - run: |
cargo install cargo-audit cargo install cargo-audit cargo-deny
cargo audit cargo audit
cargo deny check advisories bans
- run: cargo doc --no-deps --document-private-items --workspace - run: cargo doc --no-deps --document-private-items --workspace
- name: Upload doc artifact - name: Upload doc artifact
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
+2
View File
@@ -0,0 +1,2 @@
[advisories]
ignore = ["RUSTSEC-2024-0436"]