From 34ec28100a1830220cae1b3e7212e7c21ff4dffd Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 4 Sep 2024 11:36:00 +0800 Subject: [PATCH] Add RsProxy.cn for `Rust` [GitHub #68] --- src/recipe/lang/Rust.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/recipe/lang/Rust.c b/src/recipe/lang/Rust.c index 92fe667..b7b54fa 100644 --- a/src/recipe/lang/Rust.c +++ b/src/recipe/lang/Rust.c @@ -4,11 +4,14 @@ * File Authors : Aoran Zeng * Contributors : Nil Null * Created On : <2023-08-30> - * Last Modified : <2024-08-09> + * Last Modified : <2024-09-04> * ------------------------------------------------------------*/ +static MirrorSite +RsProxyCN = {"rsproxycn", "RsProxy.cn", "字节跳动基础架构Dev Infra", "https://rsproxy.cn/", NULL}; + /** - * @time 2024-05-24 更新 + * @time 2024-09-04 更新 * @note 以下都支持稀疏索引,我们换源时都将默认添加 `sparse+` */ static SourceInfo @@ -18,6 +21,7 @@ pl_rust_sources[] = { {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/crates.io-index/"}, {&Ustc, "https://mirrors.ustc.edu.cn/crates.io-index/"}, + {&RsProxyCN, "https://rsproxy.cn/index/"}, {&Hust, "https://mirrors.hust.edu.cn/crates.io-index/"} }; def_sources_n(pl_rust);