cargo国内镜像加速 iOS

mowen 2022-04-26 1140

vi ~/.cargo/config

[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'

[source.ustc]
registry = "https://mirrors.ustc.edu.cn/crates.io-index"

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


最新回复 (0)
返回
发新帖
X