# 替换成你偏好的镜像源
#replace-with = 'tuna'
# replace-with = 'ustc'
#replace-with = 'zju'
# 源地址
[source.crates-io]
# registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'rsproxy-sparse'
#字节跳动
[source.rsproxy]
registry = "https://rsproxy.cn/crates.io-index"
[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"
[registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index"
# 清华大学
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
# 中国科学技术大学
[source.ustc]
#registry = "git://mirrors.ustc.edu.cn/crates.io-index"
registry = "sparse+https://mirrors.ustc.edu.cn/crates.io-index/"
# 浙江大学
[source.zju]
registry = "https://mirrors.zju.edu.cn/git/crates.io-index.git"
# 上海交通大学
[source.sjtu]
registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index"