aboutsummaryrefslogtreecommitdiff
path: root/examples/example-metadata
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: remove dynamic dispatcher registration API魏曹先生3 days1-5/+1
| | | | | | | 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).
* chore(release): bump version to 0.5.0魏曹先生3 days1-3/+3
|
* refactor: move example tests into per-example test.toml files魏曹先生5 days1-0/+23
| | | | | | Replace the centralized `examples/test-examples.toml` with individual `test.toml` files in each example directory, updating the test runner and related documentation accordingly.
* chore: update package versions to 0.4.0 in lock files魏曹先生11 days1-3/+3
|
* feat: add entry metadata system with compile-time typed values魏曹先生2026-08-044-0/+355
Add `Metadata<B>` trait and `#[metadata(Entry)]` attribute macro to attach arbitrary, compile-time-typed metadata to entries. Implement `ProgramCollect::get_metadata<T>()` for runtime retrieval, backed by a global registry populated by `register_metadata!`. Extend `pathf` with `MetadataPattern` to resolve metadata types across modules at build time. Add two examples demonstrating metadata usage with and without pathf integration.