From 9c6b5eaa9be676015e39feb4f76ae3e2dc30390d Mon Sep 17 00:00:00 2001 From: AskaEth Date: Mon, 9 Nov 2026 22:15:47 +0800 Subject: [PATCH] =?UTF-8?q?chore(core):=20=E5=8E=BB=E6=8E=89=20liteloader?= =?UTF-8?q?=20=E9=9B=86=E6=88=90=E6=B5=8B=E8=AF=95=E4=B8=8E=20versions.rs?= =?UTF-8?q?=20=E9=87=8C=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=20import?= =?UTF-8?q?=EF=BC=88-D=20warnings=20=E4=BC=9A=E7=BA=A2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/core/src/addon/loader/liteloader/versions.rs | 4 +--- crates/core/tests/liteloader/install.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/core/src/addon/loader/liteloader/versions.rs b/crates/core/src/addon/loader/liteloader/versions.rs index 94d6756..11811eb 100644 --- a/crates/core/src/addon/loader/liteloader/versions.rs +++ b/crates/core/src/addon/loader/liteloader/versions.rs @@ -7,9 +7,7 @@ use std::collections::{BTreeMap, BTreeSet}; use serde::Deserialize; -use super::{ - LiteLoaderEntry, LoaderError, CENTRAL_REPO, DEFAULT_REPO, SNAPSHOT_REPO, VERSION_LIST_URL, -}; +use super::{LiteLoaderEntry, LoaderError, CENTRAL_REPO, DEFAULT_REPO, SNAPSHOT_REPO}; use crate::game::library::Library; #[derive(Debug, Deserialize)] diff --git a/crates/core/tests/liteloader/install.rs b/crates/core/tests/liteloader/install.rs index 1f80fcb..24ab372 100644 --- a/crates/core/tests/liteloader/install.rs +++ b/crates/core/tests/liteloader/install.rs @@ -1,6 +1,6 @@ //! 解析 → 计划 → 落盘 → 继承解析 → 启动参数顺序(两条父链:原版 / Forge)。 -use unlucky_core::addon::loader::{LoaderInstallPlan, LoaderKind, LoaderPlanInput}; +use unlucky_core::addon::loader::{LoaderInstallPlan, LoaderPlanInput}; use unlucky_core::download::blocking::block_on; use unlucky_core::game::arguments::Environment; use unlucky_core::game::inherit::resolve;