aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/func/register_metadata.rs
Commit message (Collapse)AuthorAgeFilesLines
* chore: add "Doc Not Optimize" comments to source files魏曹先生6 days1-0/+1
| | | | | Mark all source files with a comment indicating they are not optimized for documentation purposes.
* feat: add entry metadata system with compile-time typed values魏曹先生2026-08-041-0/+67
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.