aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Support explicit program name and help struct in dispatcher_clap魏曹先生2026-04-261-123/+210
|
* Update macro syntax from positional to keyword error argument魏曹先生2026-04-251-8/+16
|
* Add help system with `#[help]` macro and `HelpRequest` trait魏曹先生2026-04-252-0/+229
|
* Add `dispatcher_clap` attribute macro behind `clap_parser` feature魏曹先生2026-04-252-0/+196
|
* Add clap_parser feature and refactor dispatcher macro internals魏曹先生2026-04-252-29/+12
|
* Add async example demonstrating tokio integration魏曹先生2026-04-251-3/+3
|
* Remove redundant generic parameter from Program struct魏曹先生2026-04-252-5/+5
|
* Rename dispatcher_chain.rs to dispatcher.rs魏曹先生2026-04-252-2/+2
|
* Add new_with_args and dispatch_args_dynamic to Program魏曹先生2026-04-222-83/+0
| | | | | Remove Display bound from Group type parameter and delete dispatcher_render macro. This is a breaking change.
* Register type in Groupped derive macro魏曹先生2026-04-201-0/+2
|
* Move type registration to pack! and Groupped macros魏曹先生2026-04-205-46/+26
|
* Remove unnecessary `.into()` calls in chain functions魏曹先生2026-04-191-6/+6
|
* Support both async and sync functions with async feature enabled魏曹先生2026-04-191-24/+38
|
* Make async an optional feature魏曹先生2026-04-192-41/+103
|
* Add AnyOutput and ChainProcess conversion impls魏曹先生2026-04-181-0/+43
|
* Remove outdated planning document from source directory魏曹先生2026-04-181-7/+0
|
* Extract chain and renderer registration into separate macros魏曹先生2026-04-183-44/+125
|