aboutsummaryrefslogtreecommitdiff
path: root/examples/example-async-support/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: remove legacy parser feature and migrate to picker魏曹先生2 days1-1/+1
| | | | | | | | | | The legacy `parser` feature and its module tree (`mingling::parser`, `Argument`, `Picker`, `Pickable`, etc.) have been fully removed and replaced by the `picker` feature powered by `arg-picker`. BREAKING CHANGE: Remove `parser` feature and use `picker` instead. Migration guide: Replace `features = ["parser"]` with `features = ["picker"]` and update API usage per the provided table.
* refactor!: remove Node type and simplify dispatcher macro syntax魏曹先生2 days1-1/+1
| | | | | | | The `dispatcher!` macro no longer requires a `CMD*` dispatcher type argument; the dispatcher struct is now generated internally as `__Dispatcher{Pascal}`. The `Node` type, `node!` macro, and `Dispatcher::node()` / `clone_dispatcher()` methods are removed.
* refactor!: remove dynamic dispatcher registration API魏曹先生2 days1-2/+0
| | | | | | | Dispatchers are now always registered at compile time, removing the `with_dispatcher` / `with_dispatchers` methods and the `PathfinderConfig` API. The `dispatch_tree` feature now only controls the matching strategy (trie vs linear list).
* ix(macros)!: require explicit `.into()` on chain function return values魏曹先生2026-07-181-1/+1
|
* refactor(examples): migrate renderers to return RenderResult and add魏曹先生2026-07-111-2/+5
| | | | | | | | | std::io::Write import Replace r_println!/r_print! macro usage across all example renderers with explicit RenderResult construction using std::io::Write, enabling more flexible output handling and reducing reliance on macro-side effects.
* feat(macros): add async mutable resource injection for `#[chain]`魏曹先生2026-06-271-2/+1
| | | | | | | Support `&mut T` resource parameters in async chain functions by using an extract-store pattern that avoids holding mutable borrows across await points. Remove the previous compile-time rejection of this combination.
* Redesign hook system with structured info types and ProgramControls魏曹先生2026-06-241-1/+1
|
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-311-0/+1
|
* Rework examples and add entry macro for testingWeicao-CatilGrass2026-05-231-0/+68