mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-23 19:11:22 +08:00
Format code
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
* @note 以下都支持稀疏索引,我们换源时都将默认添加 `sparse+`
|
||||
* @note 链接末尾的 `/` 不能缺少
|
||||
*/
|
||||
static Source_t
|
||||
pl_rust_cargo_sources[] = {
|
||||
static Source_t pl_rust_cargo_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://index.crates.io/"}, // @help 是这个吗?
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/crates.io-index/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/crates.io-index/"},
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
* Last Modified : <2024-11-21>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
static MirrorSite_t
|
||||
RsProxyCN = {
|
||||
static MirrorSite_t RsProxyCN =
|
||||
{
|
||||
"rsproxycn", "RsProxy.cn", "字节跳动基础架构Dev Infra", "https://rsproxy.cn/",
|
||||
{SKIP, ToFill, ToFill, NULL}
|
||||
};
|
||||
|
||||
@@ -11,15 +11,15 @@
|
||||
/**
|
||||
* @update 2024-10-02
|
||||
*/
|
||||
static Source_t
|
||||
pl_rust_rustup_sources[] = {
|
||||
{&UpstreamProvider, "https://static.rust-lang.org"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/rustup"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/rustup"},
|
||||
{&RsProxyCN, "https://rsproxy.cn"}
|
||||
static Source_t pl_rust_rustup_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://static.rust-lang.org"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/rustup"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/rustup"},
|
||||
{&RsProxyCN, "https://rsproxy.cn"}
|
||||
};
|
||||
def_sources_n(pl_rust_rustup);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user