cargo使用国内源
This commit is contained in:
parent
6154cddc00
commit
345655085b
6
.cargo/config
Normal file
6
.cargo/config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[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"
|
Loading…
Reference in New Issue
Block a user