aboutsummaryrefslogtreecommitdiff
path: root/mingling/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-18 00:24:05 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-18 00:24:05 +0800
commitba733ffaffd78ecc4220106b21a57ed3b2893636 (patch)
treea293dd59ea85a87f552e8baff7aaf64afb05873e /mingling/src
parente16e0b077f6d51c99015b664c3d09fd0a43980be (diff)
Extract chain and renderer registration into separate macros
Diffstat (limited to 'mingling/src')
-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 12d4a84..858b4b7 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -98,6 +98,10 @@ pub mod macros {
pub use mingling_macros::r_print;
/// Used to print content with a newline within a `Renderer` context
pub use mingling_macros::r_println;
+ /// Used to register a chain
+ pub use mingling_macros::register_chain;
+ /// Used to register a renderer
+ pub use mingling_macros::register_renderer;
/// Used to register a type into the context
pub use mingling_macros::register_type;
/// Used to generate a struct implementing the `Renderer` trait via a method