aboutsummaryrefslogtreecommitdiff
path: root/mingling
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-20 01:30:10 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-20 01:30:10 +0800
commitd3177c386d739a3dc0e06890ad8f14713ef44ee0 (patch)
tree98193b025812ee13b1f0f0bb38e1d58fd2558f3d /mingling
parent9d491352d161ee629cc47459537344ba0ea4bb35 (diff)
Add `group!` macro for registering external types
Diffstat (limited to 'mingling')
-rw-r--r--mingling/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index f5c02fa..a295af9 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -93,6 +93,9 @@ pub mod macros {
pub use mingling_macros::entry;
/// Used to collect data and create a command-line context
pub use mingling_macros::gen_program;
+ /// Used to register an external type as a group member
+ #[cfg(feature = "extra_macros")]
+ pub use mingling_macros::group;
/// Used to generate a struct implementing the `HelpRequest` trait via a method
pub use mingling_macros::help;
/// Used to create a `Node` struct via a literal