ENES中文
Test accelerator

crates.io Sparse Proxy

Proxy the crates.io sparse index and crate downloads for Rust / Cargo dependency fetching.

Quick start
[source.crates-io]
replace-with = "edgemirror"

[source.edgemirror]
registry = "sparse+https://mirror.aierliz.top/crates/"
Recipes

.cargo/config.toml

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

[source.edgemirror]
registry = "sparse+https://mirror.aierliz.top/crates/"

One-shot environment variable

CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo fetch

Test index

https://mirror.aierliz.top/crates/config.json

Example mapping

Original:
sparse+https://index.crates.io/
serde = "1"

Accelerated:
sparse+https://mirror.aierliz.top/crates/
serde = "1"

Status: Test. Sparse index and crate downloads are proxied; publish, yank, and token APIs are outside the current stable scope.