From 5f8d4450cccf11b508ea316d499d710d8e9061ae Mon Sep 17 00:00:00 2001 From: bf1942 Date: Fri, 20 Mar 2026 01:52:42 +0800 Subject: [PATCH] chore: stabilize local build environment --- .cargo/config.toml | 8 ++++++++ rust-toolchain.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ce1299f --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,8 @@ +[source.crates-io] +replace-with = "rsproxy-sparse" + +[source.rsproxy-sparse] +registry = "sparse+https://rsproxy.cn/index/" + +[net] +git-fetch-with-cli = true diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 19f76d4..deb561f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.93.1" +channel = "stable" components = ["clippy"]