cargo使用国内源

This commit is contained in:
李运家 2024-05-02 14:10:06 +08:00
parent 6154cddc00
commit 345655085b

6
.cargo/config Normal file
View 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"