From 4421fb2794f2af292f8781e7d12ae002a3f10a9b Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 30 Mar 2026 17:26:03 +0800 Subject: Add argument parser module with picker API --- mingling/Cargo.toml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'mingling/Cargo.toml') diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml index 4d13d0b..c9f0116 100644 --- a/mingling/Cargo.toml +++ b/mingling/Cargo.toml @@ -10,11 +10,18 @@ keywords = ["cli", "framework", "procedural", "subcommand", "command-line"] categories = ["command-line-interface"] repository = "https://github.com/catilgrass/mingling" +[dev-dependencies] +mingling = { path = ".", features = ["full"] } + [features] default = ["mingling_core/default"] -full = ["mingling_core/full"] +full = ["mingling_core/full", "general_renderer", "macros", "parser"] +general_renderer = ["mingling_core/general_renderer", "dep:serde"] macros = ["mingling_core/macros"] -general_renderer = ["mingling_core/general_renderer"] + +parser = ["dep:size"] [dependencies] -mingling_core = { version = "0.1.0", default-features = false } +mingling_core = { path = "../mingling_core", default-features = false } +serde = { version = "1.0", features = ["derive"], optional = true } +size = { version = "0.5", optional = true } -- cgit