File tree 2 files changed +51
-1
lines changed
2 files changed +51
-1
lines changed Original file line number Diff line number Diff line change
1
+ # 获取镜像配置文件
2
+ [net ]
3
+ git-fetch-with-cli = true
4
+
5
+ [source .crates-io ]
6
+ registry = " https://github.com/rust-lang/crates.io-index"
7
+
8
+ # 替换成你偏好的镜像源
9
+ replace-with = ' rsproxy'
10
+
11
+ # 字节跳动源
12
+ [source .rsproxy ]
13
+ registry = " https://rsproxy.cn/crates.io-index"
14
+
15
+ [registries .rsproxy ]
16
+ index = " https://rsproxy.cn/crates.io-index"
17
+
18
+ # 清华大学
19
+ [source .tuna ]
20
+ registry = " https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
21
+
22
+ # 中国科学技术大学
23
+ [source .ustc ]
24
+ registry = " git://mirrors.ustc.edu.cn/crates.io-index"
25
+
26
+ # 上海交通大学
27
+ [source .sjtu ]
28
+ registry = " https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index"
29
+
30
+ # rustcc社区 - 已失效!
31
+ # [source.rustcc]
32
+ # registry = "https://code.aliyun.com/rustcc/crates.io-index.git"
33
+
34
+ # rustcc 1号源
35
+ [source .rustcc ]
36
+ registry =" git://crates.rustcc.com/crates.io-index"
37
+
38
+ # rustcc 2号源
39
+ [source .rustcc2 ]
40
+ registry =" git://crates.rustcc.cn/crates.io-index"
Original file line number Diff line number Diff line change 3
3
registry = "https://github.com/rust-lang/crates.io-index"
4
4
5
5
# 替换成你偏好的镜像源
6
- replace-with = 'sjtu'
6
+ replace-with = 'rsproxy
7
7
8
8
# 清华大学
9
9
[source.tuna]
@@ -28,3 +28,13 @@ registry="git://crates.rustcc.com/crates.io-index"
28
28
# rustcc 2号源
29
29
[source.rustcc2]
30
30
registry="git://crates.rustcc.cn/crates.io-index"
31
+
32
+ # 字节跳动源
33
+ [source.rsproxy]
34
+ registry = "https://rsproxy.cn/crates.io-index'
35
+
36
+ [registries.rsproxy]
37
+ index = "https://rsproxy.cn/crates.io-index
38
+
39
+ [net]
40
+ git-fetch-with-cli = true
You can’t perform that action at this time.
0 commit comments