You depend
What you depend on
A mirror registry puts upstream (crates.io, ...) behind your policy gate. New versions are held until they pass. Mirror everything or only an allowlist imported from your lockfile.
- Cooldown on fresh releases, quarantine on your policy
- Advisories hold versions at the severity alert levels you choose
- License allowlist, and a hold on unexpected package metadata changes
- One policy for your org instead of configuring a dependency management bot on each repo
# .cargo/config.toml
[registries.acme-mirror]
index = "sparse+https://haven.rs/r/acme-mirror/index/"
[source.crates-io]
replace-with = "acme-mirror"