From 265c79a1e3b20ebf5b2026a55e85cff513eaf9f5 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 25 Apr 2026 22:12:49 +0800 Subject: Add `dispatcher_clap` attribute macro behind `clap_parser` feature --- mingling/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mingling') diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index d581e83..d712ff0 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -79,6 +79,9 @@ pub mod macros { pub use mingling_macros::completion; /// Used to create a dispatcher that routes to a `Chain` pub use mingling_macros::dispatcher; + /// Used to create a dispatcher with clap argument parsing + #[cfg(feature = "clap_parser")] + pub use mingling_macros::dispatcher_clap; /// Used to collect data and create a command-line context pub use mingling_macros::gen_program; /// Used to create a `Node` struct via a literal -- cgit