aboutsummaryrefslogtreecommitdiff
path: root/examples/example-combine-pathf-metadata
Commit message (Collapse)AuthorAgeFilesLines
* refactor: move example tests into per-example test.toml files魏曹先生5 hours1-0/+17
| | | | | | 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魏曹先生6 days1-4/+4
|
* feat: add entry metadata system with compile-time typed values魏曹先生11 days6-0/+367
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.