Notify users

This commit is contained in:
Aoran Zeng
2025-07-11 21:06:28 +08:00
parent c0598b2dad
commit 48be5f5acb
4 changed files with 59 additions and 15 deletions

View File

@@ -36,11 +36,11 @@ GoProxyIO =
*/
static Source_t pl_go_sources[] =
{
{&pl_go_upstream, "https://proxy.golang.org"},
{&GoProxyCN, "https://goproxy.cn"},
{&Ali, "https://mirrors.aliyun.com/goproxy/"},
{&Huawei, "https://mirrors.huaweicloud.com/goproxy/"},
{&GoProxyIO, "https://goproxy.io"}
{&pl_go_upstream, "https://proxy.golang.org", NULL},
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
{&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
};
def_sources_n(pl_go);

View File

@@ -28,26 +28,35 @@ static Source_t pl_rust_cargo_sources[] =
{
{&pl_rust_cargo_upstream, "https://github.com/rust-lang/crates.io-index/",
NULL},
{&MirrorZ, "https://mirrors.cernet.edu.cn/crates.io-index/",
NULL},
{&RsProxyCN, "https://rsproxy.cn/index/",
NULL},
{&Ali, "https://mirrors.aliyun.com/crates.io-index/",
"https://mirrors.aliyun.com/crates/api/v1/crates/windows/0.58.0/download"},
{&Zju, "https://mirrors.zju.edu.cn/crates.io-index/",
NULL},
// {&Nju, "https://mirror.nju.edu.cn/git/crates.io-index.git/",
// NULL},
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/crates.io-index/",
NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/",
NULL},
{&Bfsu, "https://mirrors.bfsu.edu.cn/crates.io-index/",
NULL},
{&Ustc, "https://mirrors.ustc.edu.cn/crates.io-index/",
"https://crates-io.proxy.ustclug.org/api/v1/crates/windows/0.58.0/download"},
// {&Hust, "https://mirrors.hust.edu.cn/crates.io-index/",
// NULL},
{&Cqu, "https://mirrors.cqu.edu.cn/crates.io-index/",
NULL}
};

View File

@@ -19,15 +19,15 @@ static SourceProvider_t pl_rust_binary_upstream =
* @update 2025-06-17
*/
static Source_t pl_rust_rustup_sources[] = {
{&pl_rust_binary_upstream, "https://static.rust-lang.org"},
{&MirrorZ, "https://mirrors.cernet.edu.cn/rustup"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup"},
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static"},
{&Nju, "https://mirror.nju.edu.cn/rustup"},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static"},
{&Zju, "https://mirrors.zju.edu.cn/rustup"},
{&Iscas, "https://mirror.iscas.ac.cn/rustup"},
{&Ali, "https://mirrors.aliyun.com/rustup"},
{&pl_rust_binary_upstream, "https://static.rust-lang.org", NULL},
{&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup", NULL},
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static", NULL},
{&Nju, "https://mirror.nju.edu.cn/rustup", NULL},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static", NULL},
{&Zju, "https://mirrors.zju.edu.cn/rustup", NULL},
{&Iscas, "https://mirror.iscas.ac.cn/rustup", NULL},
{&Ali, "https://mirrors.aliyun.com/rustup", NULL},
{&RsProxyCN, "https://rsproxy.cn"}};
def_sources_n(pl_rust_rustup);