From 8646a3eab52c2b299304d3dfc142a358c74b0697 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 22 Jul 2026 01:55:17 +0800 Subject: feat(mingling_cli): add wrapper binary and optimize release profile Add `mling` wrapper binary that delegates to `mingling-cli`, enabling separate binary names while maintaining Cargo conventions. --- mingling_cli/Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mingling_cli/Cargo.toml') diff --git a/mingling_cli/Cargo.toml b/mingling_cli/Cargo.toml index 5b36c6b..98833ff 100644 --- a/mingling_cli/Cargo.toml +++ b/mingling_cli/Cargo.toml @@ -13,6 +13,10 @@ categories = ["command-line-interface"] [[bin]] name = "mling" +path = "src/bin/wrapper.rs" + +[[bin]] +name = "mingling-cli" path = "src/main.rs" [dependencies.mingling] @@ -57,4 +61,10 @@ serde_json = "1.0.151" # Code gen just_template = "0.2.0" +[profile.release] +opt-level = "z" +lto = true +codegen-units = 1 +strip = true + [workspace] -- cgit