aboutsummaryrefslogtreecommitdiffstats
path: root/dotfiles/cargo/.cargo/config.toml
blob: a6f0783470ac6d480ef812cc6b0c2fb83f06925f (plain)
1
2
3
4
5
6
7
8
9
10
[source.crates-io]
replace-with = 'mirror'

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

[registries.mirror]
index = "sparse+https://mirrors.cernet.edu.cn/crates.io-index/"

# 参考 https://help.mirrors.cernet.edu.cn/crates.io-index/