sjtug / mirror-requests

新镜像请求 & BUG 汇报
https://mirrors.sjtug.sjtu.edu.cn
49 stars 2 forks source link

crates.io镜像的链接需要更新? #284

Closed wangtianxia-sjtu closed 2 years ago

wangtianxia-sjtu commented 2 years ago

https://mirror.sjtu.edu.cn/docs/crates.io 这个crates源的链接似乎已经无法使用,应该换成

[source]

[source.mirror]
registry = "https://git.sjtu.edu.cn/sjtug/crates.io-index"

[source.crates-io]
replace-with = "mirror"
skyzh commented 2 years ago

由于盘比较慢,可能会有卡住的情况。我们还是推荐用户设置 https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/, 而非 https://git.sjtu.edu.cn/sjtug/crates.io-index

wangtianxia-sjtu commented 2 years ago

好吧,刚刚试了一下,https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/也可使用。但是速度比https://git.sjtu.edu.cn/sjtug/crates.io-index要慢很多。 而且,直接访问这个网址https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index会直接404,不知道这个是不是正常现象

skyzh commented 2 years ago

404 是正常现象,git repo serving 的时候正常是不会显示任何内容的;直接访问 git.sjtu.edu.cn 会快也是正常的,因为 git.sjtu.edu.cn 的数据放在 SSD 上。