diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-01 15:48:41 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-01 15:48:41 +0800 |
| commit | 3de10ca22cca06c4d9069984d0e66e370a331dde (patch) | |
| tree | 7e8a9b035c360c016cde848b3442d3e1d5dcac5e /mingling | |
| parent | f3d6f76dfd07c35dabc11aa86d86c3671cd283c5 (diff) | |
Replace typeid-based dispatch with enum-based dispatch
- Add `Groupped` trait and `member_id` to `AnyOutput`
- Add generic parameter `G` to `Dispatcher`, `Chain`, `Program` etc
- Remove `hint` module and its marker types
- Update macros to support explicit group specification
- Add `gen_program` macro for generating enum-based programs
- Add `GroupProcess` marker type for type-level grouping
Diffstat (limited to 'mingling')
| -rw-r--r-- | mingling/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 5c5ae7d..86e1152 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -10,9 +10,9 @@ pub mod macros { pub use mingling_macros::chain; pub use mingling_macros::dispatcher; pub use mingling_macros::dispatcher_render; + pub use mingling_macros::gen_program; pub use mingling_macros::node; pub use mingling_macros::pack; - pub use mingling_macros::program; pub use mingling_macros::r_print; pub use mingling_macros::r_println; pub use mingling_macros::renderer; |
