← mirrors.mamad.dev

Crates.io Mirror

Sparse-index compatible mirror of crates.io

API Key
For scripts and CI:

        
      

.cargo/config.toml

[source.crates-io]
replace-with = "mirror"

[source.mirror]
registry = "sparse+https://mirrors.mamad.dev/crates/YOUR_KEY/index/"

How it works

Proxies the sparse index at index.crates.io and downloads from static.crates.io. The config.json is rewritten so cargo downloads crates through the mirror. Cached for 7 days.

home
built with Rust · mamad.dev