mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-19 06:09:37 +08:00
parent
459c1cf3cd
commit
e48958c275
@ -5,18 +5,16 @@
|
|||||||
* Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
|
* Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
|
||||||
* |
|
* |
|
||||||
* Created On : <2023-08-30>
|
* Created On : <2023-08-30>
|
||||||
* Last Modified : <2025-06-18>
|
* Last Modified : <2025-07-11>
|
||||||
* ------------------------------------------------------------*/
|
* ------------------------------------------------------------*/
|
||||||
|
|
||||||
static SourceProvider_t pl_rust_cargo_upstream =
|
static SourceProvider_t pl_rust_cargo_upstream =
|
||||||
{
|
{
|
||||||
def_upstream, "https://crates.io/",
|
def_upstream, "https://crates.io/",
|
||||||
{NotSkip, NA, NA, "https://crates.io/api/v1/crates/windows/0.58.0/download"}
|
{NotSkip, NA, NA, "https://crates.io/api/v1/crates/windows/0.58.0/download", ACCURATE}
|
||||||
/* 跳转为: https://static.crates.io/crates/windows/windows-0.58.0.crate */
|
/* 跳转为: https://static.crates.io/crates/windows/windows-0.58.0.crate */
|
||||||
};
|
};
|
||||||
|
|
||||||
// Ali: https://mirrors.aliyun.com/crates/api/v1/crates/windows/0.58.0/download
|
|
||||||
// Ustc: https://crates-io.proxy.ustclug.org/api/v1/crates/windows/0.58.0/download
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @update 2025-06-18
|
* @update 2025-06-18
|
||||||
@ -28,18 +26,30 @@ static SourceProvider_t pl_rust_cargo_upstream =
|
|||||||
*/
|
*/
|
||||||
static Source_t pl_rust_cargo_sources[] =
|
static Source_t pl_rust_cargo_sources[] =
|
||||||
{
|
{
|
||||||
{&pl_rust_cargo_upstream, "https://github.com/rust-lang/crates.io-index/"},
|
{&pl_rust_cargo_upstream, "https://github.com/rust-lang/crates.io-index/",
|
||||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/crates.io-index/"},
|
NULL},
|
||||||
{&RsProxyCN, "https://rsproxy.cn/index/"},
|
{&MirrorZ, "https://mirrors.cernet.edu.cn/crates.io-index/",
|
||||||
{&Ali, "https://mirrors.aliyun.com/crates.io-index/"},
|
NULL},
|
||||||
{&Zju, "https://mirrors.zju.edu.cn/crates.io-index/"},
|
{&RsProxyCN, "https://rsproxy.cn/index/",
|
||||||
// {&Nju, "https://mirror.nju.edu.cn/git/crates.io-index.git/"},
|
NULL},
|
||||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/crates.io-index/"},
|
{&Ali, "https://mirrors.aliyun.com/crates.io-index/",
|
||||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"},
|
"https://mirrors.aliyun.com/crates/api/v1/crates/windows/0.58.0/download"},
|
||||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/crates.io-index/"},
|
{&Zju, "https://mirrors.zju.edu.cn/crates.io-index/",
|
||||||
{&Ustc, "https://mirrors.ustc.edu.cn/crates.io-index/"},
|
NULL},
|
||||||
// {&Hust, "https://mirrors.hust.edu.cn/crates.io-index/"},
|
// {&Nju, "https://mirror.nju.edu.cn/git/crates.io-index.git/",
|
||||||
{&Cqu, "https://mirrors.cqu.edu.cn/crates.io-index/"}
|
// 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}
|
||||||
};
|
};
|
||||||
def_sources_n(pl_rust_cargo);
|
def_sources_n(pl_rust_cargo);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user