aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/func.rs
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: replace pack! macros with derive-based pipeline types魏曹先生71 min.1-7/+0
| | | | | | | | | Remove the `pack!`, `pack_err!`, `pack_structural!`, and `pack_err_structural!` macros, replacing all pipeline type definitions with `#[derive(Grouped)]` and `#[derive(Grouped, Wrap)]` attributes. This changes the generated struct shape from named-field structs with an `inner` field to tuple structs accessed via `.0`, and removes the auto-generated `name` and `info` fields from error types.
* refactor!: remove Node type and simplify dispatcher macro syntax魏曹先生4 hours1-1/+0
| | | | | | | 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.
* chore: add "Doc Not Optimize" comments to source files魏曹先生3 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魏曹先生13 days1-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魏曹先生2026-08-011-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魏曹先生2026-07-261-1/+1
| | | | `extra_macros`
* feat(macros): split monolith into one-macro-per-file modules魏曹先生2026-07-261-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.