aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src
Commit message (Collapse)AuthorAgeFilesLines
* Enable color feature for clap and fix help and error rendering魏曹先生4 days1-5/+6
|
* Introduce `Registry` type alias for global static declarations魏曹先生4 days1-10/+12
|
* Require explicit import of `crate::Next` in chained functions魏曹先生9 days1-1/+7
|
* Gate extra_macros items behind the feature flag魏曹先生9 days1-0/+6
|
* Add implicit dispatcher macro with auto-derived names魏曹先生9 days2-3/+102
|
* Rework examples and add entry macro for testingWeicao-CatilGrass10 days2-0/+97
|
* Fix incorrect variable name in help attribute macroWeicao-CatilGrass10 days1-2/+2
|
* Refactor resource injection to use inline mut resource wrappingWeicao-CatilGrass10 days1-19/+26
|
* Refactor renderer to use injected resources directlyWeicao-CatilGrass11 days2-6/+4
|
* Extract resource injection into shared module and add to #[renderer]Weicao-CatilGrass11 days4-256/+277
|
* Support custom return types in `#[renderer]` macroWeicao-CatilGrass11 days1-16/+34
|
* Rename injected renderer parameter from `r` to `__renderer_inner_result`Weicao-CatilGrass11 days5-21/+21
|
* Update `modify_res` to return `Return` and rename internal method魏曹先生12 days1-2/+2
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生12 days6-41/+56
|
* Add `empty_result!` macro and `REPL` resource, improve examples魏曹先生14 days1-1/+46
|
* Add no-return-value mode for `#[chain]` macroWeicao-CatilGrass2026-05-172-40/+112
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-172-24/+23
|
* Refactor chain_attr and Suppress clippy::too_many_argumentsWeicao-CatilGrass2026-05-171-185/+287
|
* Remove module-level doc commentsWeicao-CatilGrass2026-05-173-25/+0
|
* Accept paths for program name parameters in macros魏曹先生2026-05-166-103/+85
| | | | | | | | | | | 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-167-70/+83
|
* Replace hardcoded `ThisProgram` ident with shared constant魏曹先生2026-05-167-21/+42
|
* Validate single-segment types in attribute macros魏曹先生2026-05-165-2/+71
|
* Document resource injection support in chain macro魏曹先生2026-05-161-4/+105
|
* Require owned type for first parameter and reference for resources魏曹先生2026-05-161-2/+13
|
* Simplify example imports to use prelude and add resources example魏曹先生2026-05-161-4/+16
| | | | | | | | | Add a new example demonstrating global resource injection in chain functions, and update all existing examples to import from `mingling::prelude` instead of individual macro paths. Also add `example-resources` to the workspace exclude list.
* Add mutable resource injection to `#[chain]` macro魏曹先生2026-05-161-18/+47
|
* 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
|
* Log node strings in get_nodes for debug builds魏曹先生2026-05-071-5/+5
|
* Make the generated static dispatcher item public魏曹先生2026-05-071-1/+1
|
* 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-073-2/+346
|
* Add support for resource injection in `#[chain]` macro魏曹先生2026-05-071-32/+155
|
* Add static accessor to gen_program! macro output魏曹先生2026-05-071-0/+6
|
* Apply clippy suggestions in chain related filesWeicao-CatilGrass2026-05-041-1/+1
|
* Add Display derive and testing utilities for Next enum魏曹先生2026-05-021-4/+7
|
* Enforce `NextProcess` return type in chain functions and update examples魏曹先生2026-05-022-8/+44
|
* Add architecture overview and doc comments to macro crate魏曹先生2026-05-0212-104/+921
|
* Use small integer repr for gen_program! enum魏曹先生2026-04-292-7/+14
| | | | Remove the default __FallBack variant and Debug derive from pack types.
* se internal ugly naming convention for generated structs魏曹先生2026-04-284-11/+28
|
* 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-272-70/+32
|
* Fix feature name from clap_parser to clap in dispatcher macro魏曹先生2026-04-261-2/+2
|
* Rename feature `clap_parser` to `clap`魏曹先生2026-04-261-2/+2
|
* Add clap_parser feature to mingling_core with help output behavior魏曹先生2026-04-261-3/+16
| | | | config
* Remove intermediate buffer in help output魏曹先生2026-04-261-4/+1
|
* Add early return for help flag in dispatcher_clap macro魏曹先生2026-04-261-0/+6
|
* Change `help` option to accept a boolean value instead of a struct魏曹先生2026-04-261-22/+29
| | | | identifier