From 3b5da73b9b5401d426bae20a6bd735dab26b6b8e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 9 Aug 2026 13:52:26 +0800 Subject: 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. --- mingling_cli/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mingling_cli/Cargo.toml') 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" -- cgit