aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/program/once_exec.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-14 17:47:15 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-14 18:02:09 +0800
commit9c8fe13c2629a4318bd12815c07cef1371ba85a2 (patch)
tree9e9af625832a1f872f5523dbf9d9730af0ef90c8 /mingling_core/src/program/once_exec.rs
parentf3c134615c56dc7372e47a216dddca72250a3308 (diff)
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.
Diffstat (limited to 'mingling_core/src/program/once_exec.rs')
-rw-r--r--mingling_core/src/program/once_exec.rs4
1 files changed, 2 insertions, 2 deletions
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(|_| {}));
}