Files
Asmir Avdicevic c334d2da21 ci(secruity): ensure locked cargo files and dependabot cooldown (#788)
## Description

- Uses `--locked` to ensure we only use deps from the lock file
- Adds cooldown period to dependabot
- pins actions versions
- introduces zizimor and pinact

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the -->
<!-- PR. -->

## Change checklist
<!-- Remove any that are not relevant. -->
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
- [ ] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [ ] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
- [ ] `cargo make` passes locally.

---------

Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-08-20 14:00:43 +00:00

37 lines
1.2 KiB
TOML

[advisories]
# Yanking is how the 2026-08-20 arrayref attack was staged: yank every version
# satisfying a range so the malicious upload is the only one left.
yanked = "deny"
ignore = [
# gcc is only included as a minimal-versions workaround, not actually used
"RUSTSEC-2025-0121",
]
[licenses]
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"NCSA",
"OpenSSL", # aws-lc-fips-sys
"Unicode-3.0",
"Zlib", # foldhash, dependency of fastbloom
]
private = { ignore = true }
[bans]
multiple-versions = "warn"
skip = [
# hdrhistogram uses base64 0.21, newer crates use 0.22
{ crate = "base64", reason = "hdrhistogram uses 0.21, newer crates use 0.22" },
{ crate = "cpufeatures", reason = "rand 0.10 pulls in newer chacha (which depends on this), but aes-gcm hasn't updated yet" },
# ring uses getrandom 0.2, newer crates use 0.3
{ crate = "getrandom", reason = "ring depends on 0.2, newer ecosystem uses 0.3" },
# various transitive deps require different windows-sys versions
{ crate = "windows-sys", reason = "transitive deps require different versions" },
{ crate = "shlex", reason = "transitive deps require different versions" }
]