From 9c8fe13c2629a4318bd12815c07cef1371ba85a2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 14 Aug 2026 17:47:15 +0800 Subject: feat(core): move config types to public config module Refactor program configuration types into a dedicated public `config` module under `mingling_core`, making `StructuralRendererSetting` accessible via `mingling_core::config` instead of the crate root. Update all internal references and setup modules to use the new `config::` path convention. --- mingling_core/src/program/once_exec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mingling_core/src/program/once_exec.rs') diff --git a/mingling_core/src/program/once_exec.rs b/mingling_core/src/program/once_exec.rs index b1fba36..e9927b5 100644 --- a/mingling_core/src/program/once_exec.rs +++ b/mingling_core/src/program/once_exec.rs @@ -99,7 +99,7 @@ where // Read exit code // Render result - if stdout_setting.render_output == crate::RenderOutput::Show { + if stdout_setting.render_output == crate::config::RenderOutput::Show { result.std_print(); } @@ -163,7 +163,7 @@ where .unwrap(); #[cfg(not(panic = "abort"))] - if program.stdout_setting.silence_panic == super::PanicSilence::Silence { + if program.stdout_setting.silence_panic == super::config::PanicSilence::Silence { std::panic::set_hook(Box::new(|_| {})); } -- cgit