From 34c4c66c1d336469e71fad8cff4828cf5d2bdafb Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 20 Jul 2026 04:57:57 +0800 Subject: feat(core)!: remove `to_chain` and `to_render` from `Grouped` trait Move routing methods exclusively to the `Routable` trait and update all macro-generated code to reference `Routable` instead of `Grouped` --- mingling/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mingling/src') diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 5cd53db..a34452d 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -175,12 +175,15 @@ pub mod res; /// use mingling::prelude::*; /// ``` pub mod prelude { - /// Re-export of the `Grouped` derive macro for grouping types. + /// Re-export of the `Grouped` trait #[cfg(feature = "core")] pub use crate::Grouped; /// Re-export of the `RenderResult` struct for outputting rendering result #[cfg(feature = "core")] pub use crate::RenderResult; + /// Re-export of the `Routable` trait + #[cfg(feature = "core")] + pub use crate::Routable; /// Re-export of the `chain` macro for defining a chain of commands. #[cfg(feature = "macros")] pub use crate::macros::chain; -- cgit