diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-10-27 15:35:47 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-10-27 15:35:47 +0800 |
| commit | 44d1af8b4e51d7c0fe9d9ecbb2f20d64cb34f095 (patch) | |
| tree | 1ea732b5016001660113c3a0782c0ecb82f23689 /dotfiles/cargo | |
| parent | afa43622a2b0d6322f5ade9fc8231e5540a96736 (diff) | |
按照需求梳理脚本功能
Diffstat (limited to 'dotfiles/cargo')
| -rw-r--r-- | dotfiles/cargo/.cargo/config.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dotfiles/cargo/.cargo/config.toml b/dotfiles/cargo/.cargo/config.toml new file mode 100644 index 0000000..a6f0783 --- /dev/null +++ b/dotfiles/cargo/.cargo/config.toml @@ -0,0 +1,10 @@ +[source.crates-io] +replace-with = 'mirror' + +[source.mirror] +registry = "sparse+https://mirrors.cernet.edu.cn/crates.io-index/" + +[registries.mirror] +index = "sparse+https://mirrors.cernet.edu.cn/crates.io-index/" + +# 参考 https://help.mirrors.cernet.edu.cn/crates.io-index/
\ No newline at end of file |
