Created
May 12, 2022 08:46
-
-
Save SteveLauC/3df5e4da9a455035cc85721d73fc882d to your computer and use it in GitHub Desktop.
crate.io mirror
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Put it in the file '$home /. Cargo / config' | |
[source.crates-io] | |
registry = "https://github.com/rust-lang/crates.io-index" | |
#Replace it with your preferred mirror source | |
replace-with = 'sjtu' | |
#replace-with = 'ustc' | |
#Tsinghua University | |
[source.tuna] | |
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git" | |
#University of science and technology of China | |
[source.ustc] | |
registry = "git://mirrors.ustc.edu.cn/crates.io-index" | |
#Shanghai Jiaotong University | |
[source.sjtu] | |
registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index" | |
#Rustcc community | |
[source.rustcc] | |
registry = "git://crates.rustcc.cn/crates.io-index" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment