Skip to content

Commit

Permalink
set xuanwu-sparse as defualt registry & bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
J-ZhengLi committed Nov 17, 2024
1 parent 9ae1940 commit ee94f6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rim"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
description = "An interactive Rust installation manager"
rust-version = "1.73.0" # Minimal required version to use `zip`
Expand Down
2 changes: 1 addition & 1 deletion installer/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rim-gui"
version = "0.2.1"
version = "0.3.0"
description = "An interactive Rust installation manager"
authors = ["you"]
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions src/core/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ macro_rules! declare_unfallible_url {
}

declare_unfallible_url!(
default_rustup_dist_server(DEFAULT_RUSTUP_DIST_SERVER) -> "http://xuanwu.base.atomgit.com";
default_rustup_update_root(DEFAULT_RUSTUP_UPDATE_ROOT) -> "http://xuanwu.base.atomgit.com/rustup"
default_rustup_dist_server(DEFAULT_RUSTUP_DIST_SERVER) -> "https://xuanwu.base.atomgit.com";
default_rustup_update_root(DEFAULT_RUSTUP_UPDATE_ROOT) -> "https://xuanwu.base.atomgit.com/rustup"
);

pub(crate) const DEFAULT_CARGO_REGISTRY: (&str, &str) =
("rsproxy", "sparse+https://rsproxy.cn/index/");
("xuanwu-sparse", "sparse+https://xuanwu.base.atomgit.com/index/");

/// Contains definition of installation steps, including pre-install configs.
pub trait EnvConfig {
Expand Down

0 comments on commit ee94f6d

Please sign in to comment.