config 602 B

1234567891011121314151617
  1. [source.crates-io]
  2. replace-with = 'aliyun' # 指定使用下面哪个源,修改为source.后面的内容即可
  3. #阿里云
  4. [source.aliyun]
  5. registry = "sparse+https://mirrors.aliyun.com/crates.io-index/"
  6. # 中国科学技术大学
  7. [source.ustc]
  8. registry = "https://mirrors.ustc.edu.cn/crates.io-index"
  9. # 上海交通大学
  10. [source.sjtu]
  11. registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/"
  12. # 清华大学
  13. [source.tuna]
  14. registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
  15. # rustcc社区
  16. [source.rustcc]
  17. registry = "https://code.aliyun.com/rustcc/crates.io-index.git"