From f15d8a90174ad4437a7a48ac3eb5f9fd477d0c0b Mon Sep 17 00:00:00 2001 From: Mikachu2333 Date: Tue, 30 Dec 2025 21:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E6=AD=A3=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 思源镜像站真恶心,就它不一样 --- src/recipe/lang/Rust/Cargo.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/recipe/lang/Rust/Cargo.c b/src/recipe/lang/Rust/Cargo.c index 132a826..16b6c83 100644 --- a/src/recipe/lang/Rust/Cargo.c +++ b/src/recipe/lang/Rust/Cargo.c @@ -2,6 +2,9 @@ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------*/ +#define RAWSTR_pl_rust_cargo_default_download_url "https://static.crates.io/crates/windows/windows-0.58.0.crate" +#define RAWSTR_pl_rust_cargo_custom_default_download_url "api/v1/crates/windows/0.58.0/download" + def_target(pl_rust_cargo, "rust/cargo/crate/crates"); void @@ -10,8 +13,8 @@ pl_rust_cargo_prelude (void) chef_prep_this (pl_rust_cargo, gsr); chef_set_created_on (this, "2023-08-30"); - chef_set_last_updated (this, "2025-12-29"); - chef_set_sources_last_updated (this, "2025-12-29"); + chef_set_last_updated (this, "2025-12-30"); + chef_set_sources_last_updated (this, "2025-12-30"); chef_set_chef (this, NULL); chef_set_cooks (this, 2, "@Mikachu2333", "@ccmywish");