aboutsummaryrefslogtreecommitdiff
path: root/examples/example-resources/src
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-2/+2
| | | | | | | 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-3/+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).
* refactor: replace with_dispatchers with chained with_dispatcher calls魏曹先生5 days1-1/+3
|
* 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-4/+11
| | | | | | | | | 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.
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-311-0/+1
|
* Rework examples and add entry macro for testingWeicao-CatilGrass2026-05-231-33/+40
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-171-2/+2
|
* Simplify example imports to use prelude and add resources example魏曹先生2026-05-161-0/+57
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.