刚从 Rust.cc 日报看到的。欢呼ing!

Crate.io Mirror

~/.cargo/config:

[source.crates-io]
replace-with = 'rsproxy'

[source.rsproxy]
registry = "https://rsproxy.cn/crates.io-index"

Rustup Mirror

~/.zshrc or ~/.bashrc:

export RUSTUP_DIST_SERVER="https://rsproxy.cn"
export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup"

官网: https://rsproxy.cn/