From be1fa7d6bf3c8bfc0ac4405e77dc18cbe463b80b Mon Sep 17 00:00:00 2001 From: akn Date: Tue, 9 Jun 2026 14:53:29 +0900 Subject: [PATCH] chore: add .cargo/config.toml for Nix builds --- .cargo/config.toml | 5 +++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..4ffbd39 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "tuna" + +[source.tuna] +registry = "sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/" diff --git a/Cargo.lock b/Cargo.lock index 2eeed13..56e742e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -936,7 +936,7 @@ dependencies = [ [[package]] name = "newsboard" -version = "0.1.1" +version = "0.1.0" dependencies = [ "axum", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 8a12ba3..6f0598e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "newsboard" -version = "0.1.1" +version = "0.1.0" edition = "2021" [dependencies]