aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/program.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-26 06:27:16 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-26 06:41:01 +0800
commitd1a74ce57e5be72436376a829e9c7e1e7c1c561b (patch)
tree6ac923671fc09f1c47b613869d793ed3e04b91db /mingling_core/src/program.rs
parente735671acb3a81e1b7e334e56b9ef3963ba0c2fc (diff)
refactor(general_renderer): rename to structural_renderer
Diffstat (limited to 'mingling_core/src/program.rs')
-rw-r--r--mingling_core/src/program.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs
index e791d86..71d5290 100644
--- a/mingling_core/src/program.rs
+++ b/mingling_core/src/program.rs
@@ -56,8 +56,8 @@ where
pub stdout_setting: ProgramStdoutSetting,
pub user_context: ProgramUserContext,
- #[cfg(feature = "general_renderer")]
- pub general_renderer_name: GeneralRendererSetting,
+ #[cfg(feature = "structural_renderer")]
+ pub structural_renderer_name: StructuralRendererSetting,
pub(crate) hooks: Vec<ProgramHook<C>>,
@@ -99,8 +99,8 @@ where
stdout_setting: ProgramStdoutSetting::default(),
user_context: ProgramUserContext::default(),
- #[cfg(feature = "general_renderer")]
- general_renderer_name: GeneralRendererSetting::Disable,
+ #[cfg(feature = "structural_renderer")]
+ structural_renderer_name: StructuralRendererSetting::Disable,
hooks: Vec::new(),