aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/pack.rs
Commit message (Collapse)AuthorAgeFilesLines
* Support doc comments and attributes on `pack!` and `dispatcher!` macros魏曹先生4 days1-9/+22
|
* Remove PackAttrs parsing and rendering from pack macro魏曹先生4 days1-105/+9
|
* Fix `program_comp_gen!` import issue魏曹先生4 days1-9/+105
| | | | | Fixed `program_comp_gen!` import when `comp` and `dispatch_tree` features coexist
* Accept paths for program name parameters in macros魏曹先生2026-05-161-28/+25
| | | | | | | | | | | All proc macros (`pack!`, `dispatcher!`, `#[chain]`, `#[program_setup]`, `#[dispatcher_clap]`, `#[derive(Groupped)]`) now parse program names as `syn::Path` instead of bare `Ident`, allowing use of paths like `crate::MyProgram` or `my_crate::MyProgram`. The default program name `ThisProgram` is no longer re-exported or required as an import — generated code references `crate::ThisProgram` directly.
* Use `default_program_path()` instead of `default_program_ident()`魏曹先生2026-05-161-9/+9
|
* Replace hardcoded `ThisProgram` ident with shared constant魏曹先生2026-05-161-9/+13
|
* Add architecture overview and doc comments to macro crate魏曹先生2026-05-021-5/+0
|
* Use small integer repr for gen_program! enum魏曹先生2026-04-291-2/+1
| | | | Remove the default __FallBack variant and Debug derive from pack types.
* Move type registration to pack! and Groupped macros魏曹先生2026-04-201-0/+6
|
* Rename DefaultProgram to ThisProgram and remove ThisProgram marker魏曹先生2026-04-091-10/+10
|
* Add general renderer support with serialization formats魏曹先生2026-04-051-2/+2
|
* Replace typeid-based dispatch with enum-based dispatch魏曹先生2026-04-011-31/+127
| | | | | | | | | - 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
* Rename chain_struct macro to pack魏曹先生2026-03-311-0/+162