戳人痛处

导航

[记]rust cargo一些国内源

1.字节跳动

RsProxy

crates.io 镜像

~/.cargo/config.toml: ---windows
[source.crates-io]
# To use sparse index, change 'rsproxy' to 'rsproxy-sparse'
replace-with = 'rsproxy'

[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"

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

 

posted on 2022-08-02 10:49  戳人痛处  阅读(637)  评论(0编辑  收藏  举报