From d3177c386d739a3dc0e06890ad8f14713ef44ee0 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 20 Jun 2026 01:30:10 +0800 Subject: Add `group!` macro for registering external types --- 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 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 -- cgit