aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rework examples and add entry macro for testingWeicao-CatilGrass10 days1-0/+22
|
* Extract resource injection into shared module and add to #[renderer]Weicao-CatilGrass12 days1-2/+3
|
* Rename injected renderer parameter from `r` to `__renderer_inner_result`Weicao-CatilGrass12 days1-3/+3
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生13 days1-29/+29
|
* Add `empty_result!` macro and `REPL` resource, improve examples魏曹先生2026-05-191-1/+46
|
* Add no-return-value mode for `#[chain]` macroWeicao-CatilGrass2026-05-171-1/+10
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-171-15/+15
|
* Use `default_program_path()` instead of `default_program_ident()`魏曹先生2026-05-161-0/+5
|
* Replace hardcoded `ThisProgram` ident with shared constant魏曹先生2026-05-161-1/+7
|
* Validate single-segment types in attribute macros魏曹先生2026-05-161-0/+29
|
* Document resource injection support in chain macro魏曹先生2026-05-161-4/+105
|
* Add scripts for building documentation and update docs魏曹先生2026-05-131-45/+45
|
* Add error type aliases to ProgramCollect trait魏曹先生2026-05-081-0/+2
|
* Remove `__completion_gen` module wrapping from macro output魏曹先生2026-05-071-17/+12
|
* Add compile-time dispatch tree generation for O(len) command routing魏曹先生2026-05-071-0/+64
|
* Add static accessor to gen_program! macro output魏曹先生2026-05-071-0/+6
|
* Enforce `NextProcess` return type in chain functions and update examples魏曹先生2026-05-021-7/+7
|
* Add architecture overview and doc comments to macro crate魏曹先生2026-05-021-0/+920
|
* Use small integer repr for gen_program! enum魏曹先生2026-04-291-5/+13
| | | | Remove the default __FallBack variant and Debug derive from pack types.
* Add global resource system to Program魏曹先生2026-04-271-0/+1
|
* Add `route!` macro for early error routing魏曹先生2026-04-271-0/+12
|
* Remove `marker::NextProcess` and generate it via `gen_program!`Weicao-CatilGrass2026-04-271-11/+15
|
* Rename feature `clap_parser` to `clap`魏曹先生2026-04-261-2/+2
|
* Add help system with `#[help]` macro and `HelpRequest` trait魏曹先生2026-04-251-0/+27
|
* Add `dispatcher_clap` attribute macro behind `clap_parser` feature魏曹先生2026-04-251-0/+8
|
* Add clap_parser feature and refactor dispatcher macro internals魏曹先生2026-04-251-1/+1
|
* Remove redundant generic parameter from Program struct魏曹先生2026-04-251-1/+1
|
* Rename dispatcher_chain.rs to dispatcher.rs魏曹先生2026-04-251-2/+2
|
* Add new_with_args and dispatch_args_dynamic to Program魏曹先生2026-04-221-5/+0
| | | | | Remove Display bound from Group type parameter and delete dispatcher_render macro. This is a breaking change.
* Move type registration to pack! and Groupped macros魏曹先生2026-04-201-38/+16
|
* Make async an optional feature魏曹先生2026-04-191-11/+31
|
* Extract chain and renderer registration into separate macros魏曹先生2026-04-181-3/+10
|
* Add type registration for CompletionContext魏曹先生2026-04-151-0/+2
|
* Remove unnecessary string conversions in macro type registration魏曹先生2026-04-151-2/+2
|
* Add register_type macro and use it in chain and renderer macros魏曹先生2026-04-151-0/+13
|
* Add enum_rename attribute to EnumTag macro魏曹先生2026-04-131-1/+1
|
* Remove comp module and add EnumTag derive macro魏曹先生2026-04-131-0/+12
|
* Add completion system with shell context and dispatcher integration魏曹先生2026-04-101-60/+86
|
* Add completion macro infrastructure without logic魏曹先生2026-04-101-1/+66
|
* Rename DefaultProgram to ThisProgram and remove ThisProgram marker魏曹先生2026-04-091-1/+1
|
* Add basic completion module with shell integration魏曹先生2026-04-091-0/+16
|
* Add Groupped derive macro for automatic trait implementation魏曹先生2026-04-051-0/+12
|
* Add general renderer support with serialization formats魏曹先生2026-04-051-0/+35
|
* Add default error handling methods to ProgramCollect trait魏曹先生2026-04-011-9/+11
| | | | | | | | The trait now includes `build_renderer_not_found` and `build_dispatcher_not_found` methods for constructing error outputs. The macro generates implementations that create appropriate error types, removing hardcoded enum variants.
* Replace typeid-based dispatch with enum-based dispatch魏曹先生2026-04-011-10/+48
| | | | | | | | | - 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
* Remove documentation from macro definitions魏曹先生2026-03-311-205/+0
|
* Rename chain_struct macro to pack魏曹先生2026-03-311-9/+9
|
* Add README and license files to project structure魏曹先生2026-03-291-3/+69
|
* Add fallback dispatcher for missing renderers.魏曹先生2026-03-291-1/+27
|
* Generate struct names from function names in chain and renderer macros魏曹先生2026-03-291-10/+10
|