ci: add security policy, cargo-deny configuration, and audit workflow

- Add deny.toml with license/advisory policy for cargo-deny
- Add security.yml GitHub Actions workflow for automated audit
- Update rust.yml with hardened clippy lint enforcement
- Update Cargo.toml/Cargo.lock with audit-related dependency additions
- Fix clippy lint placement in config.toml (Clippy lints must not live in rustflags)

Part of PR-SEC-1: no Rust source changes, establishes CI gates for all subsequent PRs.
This commit is contained in:
David Osipov
2026-03-15 00:02:03 +04:00
parent dda31b3d2f
commit 2bd9036908
5 changed files with 67 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ hmac = "0.12"
crc32fast = "1.4"
crc32c = "0.6"
zeroize = { version = "1.8", features = ["derive"] }
subtle = "2.6"
# Network
socket2 = { version = "0.5", features = ["all"] }
@@ -69,6 +70,7 @@ tokio-test = "0.4"
criterion = "0.5"
proptest = "1.4"
futures = "0.3"
static_assertions = "1.1"
[[bench]]
name = "crypto_bench"