aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/tests
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/tests
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/tests')
-rw-r--r--mingling_core/tests/test-all/tests/integration.rs2
-rw-r--r--mingling_core/tests/test-structural-renderer/tests/integration.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/mingling_core/tests/test-all/tests/integration.rs b/mingling_core/tests/test-all/tests/integration.rs
index acb12db..936ca52 100644
--- a/mingling_core/tests/test-all/tests/integration.rs
+++ b/mingling_core/tests/test-all/tests/integration.rs
@@ -6,7 +6,7 @@ use mingling::RenderResult;
use mingling::StringVec;
use mingling::StructuralData;
use mingling::StructuralRenderer;
-use mingling::StructuralRendererSetting;
+use mingling::config::StructuralRendererSetting;
use mingling::core_res::ResREPL;
use mingling::hook::ProgramHook;
use mingling::{ShellContext, ShellFlag, Suggest};
diff --git a/mingling_core/tests/test-structural-renderer/tests/integration.rs b/mingling_core/tests/test-structural-renderer/tests/integration.rs
index e4057f8..3c017b4 100644
--- a/mingling_core/tests/test-structural-renderer/tests/integration.rs
+++ b/mingling_core/tests/test-structural-renderer/tests/integration.rs
@@ -1,4 +1,5 @@
-use mingling::{RenderResult, StructuralData, StructuralRenderer, StructuralRendererSetting};
+use mingling::config::StructuralRendererSetting;
+use mingling::{RenderResult, StructuralData, StructuralRenderer};
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize, StructuralData)]
@@ -76,4 +77,3 @@ fn test_render_ron() {
}
mingling::macros::gen_program!();
-