From 81528b273c18693ebd3f05c6f8057ff8e632f4a0 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 7 Jun 2026 02:25:27 +0800 Subject: Refactor mling to use new program architecture and install scripts --- mling/Cargo.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mling/Cargo.toml') diff --git a/mling/Cargo.toml b/mling/Cargo.toml index df9c675..a08c8d5 100644 --- a/mling/Cargo.toml +++ b/mling/Cargo.toml @@ -10,9 +10,13 @@ description = "Mingling's scaffolding tool" keywords = ["cli", "scaffolding", "command-line", "framework"] categories = ["command-line-interface"] +[[bin]] +name = "cargo-mling" +path = "src/bin/mling.rs" + [[bin]] name = "mling" -path = "src/main.rs" +path = "src/bin/mling.rs" [dependencies] mingling = { path = "../mingling", features = [ @@ -21,6 +25,7 @@ mingling = { path = "../mingling", features = [ "comp", "general_renderer", "extra_macros", + "dispatch_tree", ] } serde = { version = "1", features = ["derive"] } @@ -32,4 +37,5 @@ just_fmt = "0.1.2" toml.workspace = true [build-dependencies] -mingling = { path = "../mingling", features = ["comp"] } +chrono = "0.4" +mingling = { path = "../mingling", features = ["comp", "builds"] } -- cgit