title: "Cargo设置清华源"
date: 2021-02-03T20:59:38+08:00
draft: true
tags: ['cargo']
author: "dadigang"
author_cn: "大地缸"
personal: "http://www.real007.cn"
关于作者
Rust crates.io 索引镜像使用帮助
编辑 ~/.cargo/config
文件,添加以下内容:
[source.crates-io]
replace-with = 'tuna'
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"