crates.io

编辑 ~/.cargo/config.toml

[source]

[source.mirror]
registry = "sparse+https://mirrors.sjtug.sjtu.edu.cn/crates.io-index/"

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

若您的 cargo 版本低于 1.68,请使用以下配置

[source]

[source.mirror]
registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/"

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

SJTUG Zhiyuan Mirror

由 上海交通大学 Linux 用户组 (SJTUG) 维护

沪交 ICP 备 20180085