From 1cd4a824b3bffbbdf391837288921d538438a751 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Aug 2026 00:26:00 +0800 Subject: docs: split 0.5.0 roadmap into individual issue pages --- .../pages/issues/t1_move-structural-renderer.md | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docs/dev/pages/issues/t1_move-structural-renderer.md (limited to 'docs/dev/pages/issues/t1_move-structural-renderer.md') diff --git a/docs/dev/pages/issues/t1_move-structural-renderer.md b/docs/dev/pages/issues/t1_move-structural-renderer.md new file mode 100644 index 0000000..66da5c8 --- /dev/null +++ b/docs/dev/pages/issues/t1_move-structural-renderer.md @@ -0,0 +1,38 @@ +

[T1] Move structural_renderer from mingling_core to mingling

+

+ Breaking: inject StructuralRenderer via Hook instead of hardcoding it into the core loop +

+ +> [!NOTE] +> +> This is a **Breaking Change** planned for Mingling 0.5.0. + +## Background + +Mingling's Hook system is now complete, so there's no longer a need to hardcode `StructuralRenderer` into the core loop. + +The plan is to remove it from `exec.rs` and instead inject the Hook implementation via `StructuralRendererSetup`. + +## Plan + +- Remove the hardcoded `StructuralRenderer` from the core execution loop (`exec.rs`). +- Implement the renderer as a Hook and inject it via `StructuralRendererSetup`. +- `mingling_core` no longer depends on the structural renderer; the wiring moves up to the `mingling` crate level. + +## Tasks + +- [ ] Audit where `StructuralRenderer` is hardcoded in `mingling_core` (`exec.rs` and related) +- [ ] Design `StructuralRendererSetup` as a Hook implementation +- [ ] Move / re-implement the renderer wiring in `mingling` +- [ ] Clean up `mingling_core`'s `structural_renderer` feature and its serde deps (if no longer needed there) +- [ ] Migrate examples and tests +- [ ] Verify structural renderer output is unchanged + +## 🕘 Progress + +- [ ] In Progress +- [ ] Complete + +

+ Written by @Weicao-CatilGrass +

-- cgit