aboutsummaryrefslogtreecommitdiff
path: root/mling/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-15 22:02:51 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-15 22:06:13 +0800
commita2eefa6abb7b7b86ab78466bf5abc4877d255d79 (patch)
tree56cf44b58fe929a4e1e6444ecafe3fe8912b0653 /mling/Cargo.toml
parent18c5c3fd34ceb8a1631f7766b69e407cf92e1a09 (diff)
Add workspace Cargo.toml and centralize crate metadata
Diffstat (limited to 'mling/Cargo.toml')
-rw-r--r--mling/Cargo.toml22
1 files changed, 5 insertions, 17 deletions
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"] }