aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/lib.rs
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-05-23 23:41:04 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-05-23 23:49:34 +0800
commit0a2ef958c0dca21d19e4ffc38ba5a7c4078e182a (patch)
treec82fc4242ed393b132ba514eb434d722e7d9c387 /mingling/src/lib.rs
parentccab1940c019dfbfb7dfcbbe4cb927258933755f (diff)
Rework examples and add entry macro for testing
Diffstat (limited to 'mingling/src/lib.rs')
-rw-r--r--mingling/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index 4c11b7c..583c89a 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -85,6 +85,8 @@ pub mod macros {
pub use mingling_macros::dispatcher_clap;
/// Used to create an empty result value for early return from a chain function
pub use mingling_macros::empty_result;
+ /// Creates a packed entry value from a list of string literals
+ pub use mingling_macros::entry;
/// Used to collect data and create a command-line context
pub use mingling_macros::gen_program;
/// Used to generate a struct implementing the `HelpRequest` trait via a method
@@ -216,6 +218,8 @@ pub mod prelude {
pub use crate::macros::dispatcher;
/// Re-export of the `empty_result` macro for creating an empty result value for early return.
pub use crate::macros::empty_result;
+ /// Re-export of the `entry` macro for creating packed entry values from string literals.
+ pub use crate::macros::entry;
/// Re-export of the `gen_program` macro for generating the program entry point.
pub use crate::macros::gen_program;
/// Re-export of the `pack` macro for creating wrapper types.