From 5714eba48ee9031d61858425583c219b881f2d13 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 26 Jul 2026 20:56:24 +0800 Subject: feat(macros): split monolith into one-macro-per-file modules --- mingling_macros/src/func.rs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'mingling_macros/src/func.rs') diff --git a/mingling_macros/src/func.rs b/mingling_macros/src/func.rs index 33bb094..833e8ee 100644 --- a/mingling_macros/src/func.rs +++ b/mingling_macros/src/func.rs @@ -1,13 +1,40 @@ pub(crate) mod dispatcher; #[cfg(feature = "extra_macros")] +pub(crate) mod empty_result; +#[cfg(feature = "extra_macros")] pub(crate) mod entry; pub(crate) mod gen_program; #[cfg(feature = "extra_macros")] pub(crate) mod group; +#[cfg(all(feature = "structural_renderer", feature = "extra_macros"))] +pub(crate) mod group_structural; pub(crate) mod node; pub(crate) mod pack; #[cfg(feature = "extra_macros")] pub(crate) mod pack_err; +#[cfg(feature = "structural_renderer")] +pub(crate) mod pack_err_structural; +#[cfg(feature = "structural_renderer")] +pub(crate) mod pack_structural; +#[cfg(feature = "comp")] +pub(crate) mod program_comp_gen; +pub(crate) mod program_fallback_gen; +pub(crate) mod program_final_gen; +pub(crate) mod r_append; +pub(crate) mod r_eprint; +pub(crate) mod r_eprintln; pub(crate) mod r_print; +pub(crate) mod r_println; +pub(crate) mod register_chain; +pub(crate) mod register_dispatcher; +pub(crate) mod register_help; +pub(crate) mod register_renderer; +pub(crate) mod register_type; +#[cfg(feature = "extra_macros")] +pub(crate) mod render_route; +#[cfg(feature = "extra_macros")] +pub(crate) mod route; #[cfg(feature = "comp")] pub(crate) mod suggest; +#[cfg(feature = "comp")] +pub(crate) mod suggest_enum; -- cgit