mirror of
https://github.com/Kxsso/jcutmirror.git
synced 2026-03-29 16:27:01 +08:00
17 lines
299 B
Plaintext
17 lines
299 B
Plaintext
---
|
|
mirrorId: crates.io-index.git
|
|
isGit: true
|
|
---
|
|
|
|
编辑 `~/.cargo/config` 文件,添加以下内容:
|
|
|
|
```toml
|
|
[source.crates-io]
|
|
replace-with = 'zju'
|
|
|
|
[source.zju]
|
|
registry = "https://mirrors.jcut.edu.cn/git/crates.io-index.git"
|
|
```
|
|
|
|
该镜像可加快 cargo 读取软件包索引的速度。
|