在~/.cargo
目录下,创建config
文件
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'tuna'
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
版权所有 © 2022 cinob的博客 | 辽ICP备17021658号-2
Theme Memory By Shawn With | All Rights Reserved
(●'◡'●)ノ本博客已萌萌哒运行了
评论
还没有任何评论,你来说两句吧!