aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/pages/issues/t1_move-structural-renderer.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-17 00:26:00 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-17 00:40:37 +0800
commit1cd4a824b3bffbbdf391837288921d538438a751 (patch)
treea8ea0cf092d7862d15018e434c0af9707a67db94 /docs/dev/pages/issues/t1_move-structural-renderer.md
parent62d2f8637da3274fc22debb62b79f15e521d503e (diff)
docs: split 0.5.0 roadmap into individual issue pages
Diffstat (limited to 'docs/dev/pages/issues/t1_move-structural-renderer.md')
-rw-r--r--docs/dev/pages/issues/t1_move-structural-renderer.md38
1 files changed, 38 insertions, 0 deletions
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 @@
+<h1 align="center">[T1] Move structural_renderer from mingling_core to mingling</h1>
+<p align="center">
+ Breaking: inject <code>StructuralRenderer</code> via Hook instead of hardcoding it into the core loop
+</p>
+
+> [!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
+
+<p align="center" style="font-size: 0.85em; color: gray;">
+ Written by @Weicao-CatilGrass
+</p>