From a2eefa6abb7b7b86ab78466bf5abc4877d255d79 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 15 May 2026 22:02:51 +0800 Subject: Add workspace Cargo.toml and centralize crate metadata --- mling/Cargo.toml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'mling/Cargo.toml') diff --git a/mling/Cargo.toml b/mling/Cargo.toml index c2985f7..4dfa31e 100644 --- a/mling/Cargo.toml +++ b/mling/Cargo.toml @@ -1,27 +1,15 @@ [package] name = "mingling-cli" -version = "0.1.8" -edition = "2024" -license = "MIT OR Apache-2.0" -repository = "https://github.com/catilgrass/mingling" +version.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true description = "Mingling's scaffolding tool" [[bin]] name = "mling" path = "src/main.rs" -[profile.dev] -opt-level = 0 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -codegen-units = 1 -panic = "abort" -strip = true - - [dependencies] mingling = { path = "../mingling", features = [ "builds", @@ -36,7 +24,7 @@ serde_json = "1" colored = "3.1.1" dirs = "6.0.0" just_fmt = "0.1.2" -toml = "0.9.8" +toml.workspace = true [build-dependencies] mingling = { path = "../mingling", features = ["comp"] } -- cgit