aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-09 13:52:26 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-09 13:52:26 +0800
commit3b5da73b9b5401d426bae20a6bd735dab26b6b8e (patch)
treef9960e3c3213e44f9f023c5cb7867fb891ca3b1c /mingling_cli/Cargo.toml
parent76e42ad0b79d012581629268879620261575d1a1 (diff)
feat: add project template expansion with rule-based generation
Implement `mling proj-init` to generate projects from zip templates with checklist-based configuration. Extracts template archive, moves checklist for user editing, and expands `tmpl_`-prefixed files using `just_template` with boolean rule evaluation from `rule.toml` for file hides and display toggles.
Diffstat (limited to 'mingling_cli/Cargo.toml')
-rw-r--r--mingling_cli/Cargo.toml8
1 files changed, 7 insertions, 1 deletions
diff --git a/mingling_cli/Cargo.toml b/mingling_cli/Cargo.toml
index 2bb3fd3..a9b484a 100644
--- a/mingling_cli/Cargo.toml
+++ b/mingling_cli/Cargo.toml
@@ -61,13 +61,19 @@ colored = "3.1.1"
dirs = "6.0.0"
semver = "1.0.28"
+# Code gen
+just_template = "0.2.1"
+
+# Compress
+zip = "2"
+
[build-dependencies]
# Configure & Serialization
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
# Code gen
-just_template = "0.2.0"
+just_template = "0.2.1"
[profile.release]
opt-level = "z"