aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/func.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat: add entry metadata system with compile-time typed values魏曹先生10 hours1-0/+1
| | | | | | | | | | | 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.
* refactor!: rename `extra_macros` feature to `extras`feat/new-pipeline-model魏曹先生3 days1-8/+8
| | | | | Update all references across docs, examples, and configuration files to use the shorter `extras` feature name.
* fix: gate `pack_err_structural` on both `structural_renderer` and魏曹先生9 days1-1/+1
| | | | `extra_macros`
* feat(macros): split monolith into one-macro-per-file modules魏曹先生9 days1-0/+27
|
* feat(macros): add `#[buffer]` attribute and re-export `r_print!(ln)`魏曹先生2026-07-201-0/+1
| | | | | | | | | | | macros Reintroduce `r_print!` and `r_println!` macros as public exports, now supporting both explicit buffer argument and implicit `#[buffer]` attr. Add `#[buffer]` attribute macro that wraps unit-returning functions to produce a `RenderResult` with an automatically injected buffer variable. Relax `RenderResult::print()` and `println()` to accept `impl AsRef<str>`.
* chore(macros): reorganize module hierarchy in mingling_macros魏曹先生2026-07-201-0/+12
Restructure flat module layout into logical directories (attr/, derive/, func/, systems/, extensions/, utils.rs). Tighten internal function visibility to pub(crate). All public API signatures remain unchanged.