From 794316c6e925097ef6b87693b4a610b4563309e6 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 11 Mar 2026 16:04:47 +0800 Subject: Consolidate dependencies using workspace inheritance --- systems/_asset/Cargo.toml | 12 ++++++------ systems/_asset/macros/Cargo.toml | 8 ++++---- systems/_config/Cargo.toml | 1 + systems/_constants/macros/Cargo.toml | 10 +++++----- systems/_framework/Cargo.toml | 7 +++---- systems/sheet/Cargo.toml | 10 ++++------ 6 files changed, 23 insertions(+), 25 deletions(-) (limited to 'systems') diff --git a/systems/_asset/Cargo.toml b/systems/_asset/Cargo.toml index 12ac59c..c7586f6 100644 --- a/systems/_asset/Cargo.toml +++ b/systems/_asset/Cargo.toml @@ -4,12 +4,12 @@ edition = "2024" version.workspace = true [dependencies] -just_fmt = "0.1" - asset_macros = { path = "macros" } -tokio = { version = "1.48.0", features = ["full"] } -thiserror = "1.0.69" - -winapi = { version = "0.3", features = ["winnt"] } constants = { path = "../_constants" } + +just_fmt.workspace = true +thiserror.workspace = true +tokio.workspace = true + +winapi = { version = "0.3", features = ["winnt"] } diff --git a/systems/_asset/macros/Cargo.toml b/systems/_asset/macros/Cargo.toml index e096958..5a2ae25 100644 --- a/systems/_asset/macros/Cargo.toml +++ b/systems/_asset/macros/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" proc-macro = true [dependencies] -just_fmt = "0.1" -syn = { version = "2.0", features = ["full", "extra-traits"] } -quote = "1.0" -proc-macro2 = "1.0" +just_fmt.workspace = true +proc-macro2.workspace = true +quote.workspace = true +syn = { workspace = true, features = ["full", "extra-traits"] } diff --git a/systems/_config/Cargo.toml b/systems/_config/Cargo.toml index eacbcda..afc1d81 100644 --- a/systems/_config/Cargo.toml +++ b/systems/_config/Cargo.toml @@ -4,3 +4,4 @@ edition = "2024" version.workspace = true [dependencies] +serde.workspace = true diff --git a/systems/_constants/macros/Cargo.toml b/systems/_constants/macros/Cargo.toml index 1b1012b..22eff88 100644 --- a/systems/_constants/macros/Cargo.toml +++ b/systems/_constants/macros/Cargo.toml @@ -7,8 +7,8 @@ edition = "2024" proc-macro = true [dependencies] -syn = { version = "2.0", features = ["full", "extra-traits"] } -quote = "1.0" -proc-macro2 = "1.0" -regex = "1.12" -just_fmt = "0.1" +just_fmt.workspace = true +proc-macro2.workspace = true +quote.workspace = true +regex.workspace = true +syn.workspace = true diff --git a/systems/_framework/Cargo.toml b/systems/_framework/Cargo.toml index 286aec8..663b7be 100644 --- a/systems/_framework/Cargo.toml +++ b/systems/_framework/Cargo.toml @@ -4,7 +4,6 @@ edition = "2024" version.workspace = true [dependencies] -tokio = { version = "1.50", features = ["fs"] } -thiserror = "2" - -just_fmt = "0.1.2" +just_fmt.workspace = true +thiserror.workspace = true +tokio.workspace = true diff --git a/systems/sheet/Cargo.toml b/systems/sheet/Cargo.toml index 33d17dc..5296bf8 100644 --- a/systems/sheet/Cargo.toml +++ b/systems/sheet/Cargo.toml @@ -10,12 +10,10 @@ constants = { path = "../_constants" } sheet_system_macros = { path = "macros" } asset_system = { path = "../_asset" } -serde = { version = "1", features = ["derive"] } - -tokio = { version = "1.50", features = ["full"] } - -thiserror = "2" -just_fmt = "0.1.2" +serde.workspace = true +tokio.workspace = true +thiserror.workspace = true +just_fmt.workspace = true memmap2 = "0.9" sha2 = "0.10" -- cgit