diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-25 22:12:49 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-25 22:19:55 +0800 |
| commit | 265c79a1e3b20ebf5b2026a55e85cff513eaf9f5 (patch) | |
| tree | 288fe1136cd9360ff896796e8d5197d74f9533ea /mingling | |
| parent | 019b8def49d814bca44047d85c9ff27bbda36a66 (diff) | |
Add `dispatcher_clap` attribute macro behind `clap_parser` feature
Diffstat (limited to 'mingling')
| -rw-r--r-- | mingling/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
