rust_cn 0.1.6

为Rust设置国内镜像 自动设置rustup和crates国内镜像
1
2
3
4
5
6
7
8
9
10
11
[source.crates-io]
replace-with = 'rsproxy'

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

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

[net]
git-fetch-with-cli = true