aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/dispatcher.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(dispatch_tree): use proper snake_case for dispatcher static names魏曹先生5 days1-1/+3
| | | | | | | | | Fix the static name generation for dispatch tree nodes to use a correct snake_case conversion instead of a simple `.` to `_` replacement. Also correct the `__comp` completion dispatcher name from triple underscore to double underscore, resolving a mismatch between `register_dispatcher!` and `program_comp_gen`
* Remove all explicit program name modes from macrosremoved-shit魏曹先生10 days1-141/+49
|
* Add shared `MockProgramCollect` and conditional `Groupped` bounds魏曹先生10 days1-0/+1
| | | | | | Extract duplicate `MockCollect` implementations into a reusable `MockProgramCollect` type. Conditionally require `Serialize` on the `Groupped` trait when the `general_renderer` feature is enabled.
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-311-1/+2
|
* Support doc comments and attributes on `pack!` and `dispatcher!` macros魏曹先生2026-05-291-62/+105
|
* Add implicit dispatcher macro with auto-derived names魏曹先生2026-05-241-3/+80
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生2026-05-211-4/+7
|
* Remove module-level doc commentsWeicao-CatilGrass2026-05-171-5/+0
|
* Accept paths for program name parameters in macros魏曹先生2026-05-161-22/+18
| | | | | | | | | | | 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-3/+8
|
* Replace hardcoded `ThisProgram` ident with shared constant魏曹先生2026-05-161-2/+3
|
* Make the generated static dispatcher item public魏曹先生2026-05-071-1/+1
|
* Add compile-time dispatch tree generation for O(len) command routing魏曹先生2026-05-071-2/+87
|
* Add clap_parser feature and refactor dispatcher macro internals魏曹先生2026-04-251-28/+11
|
* Rename dispatcher_chain.rs to dispatcher.rs魏曹先生2026-04-251-0/+163
|
* Completed the first preliminary usable version of the Mingling魏曹先生2026-03-291-72/+0
| | | | framework.
* Add initial Mingling framework codebase魏曹先生2026-03-281-0/+72