aboutsummaryrefslogtreecommitdiff
path: root/mling/src/proj_mgr
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-29 04:27:39 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-29 04:27:39 +0800
commit07bf5bb372fc94f346b039ad9eecfb64c8a1ff46 (patch)
tree398662be9b13e5e06ff13ead775c00807b43c0c8 /mling/src/proj_mgr
parent7ff051635eac6b10fcd66a1878563c8155a661a4 (diff)
feat(mling): enable pathf feature and run type mapping build
Add the `pathf` feature to mingling dependency and invoke `analyze_and_build_type_mapping` during the build script. Reorganize internal module visibility from `mod + pub use` to direct `pub mod`.
Diffstat (limited to 'mling/src/proj_mgr')
-rw-r--r--mling/src/proj_mgr/mod.rs16
-rw-r--r--mling/src/proj_mgr/show_binaries.rs7
-rw-r--r--mling/src/proj_mgr/show_directories.rs4
3 files changed, 11 insertions, 16 deletions
diff --git a/mling/src/proj_mgr/mod.rs b/mling/src/proj_mgr/mod.rs
index d0c4cbf..e0a4216 100644
--- a/mling/src/proj_mgr/mod.rs
+++ b/mling/src/proj_mgr/mod.rs
@@ -4,19 +4,11 @@ use mingling::{
macros::{dispatcher, program_setup},
};
-mod generator;
-pub use generator::*;
-
+pub mod checklist_reader;
+pub mod generator;
pub mod metadata;
-
-mod checklist_reader;
-pub use checklist_reader::*;
-
-mod show_binaries;
-pub use show_binaries::*;
-
-mod show_directories;
-pub use show_directories::*;
+pub mod show_binaries;
+pub mod show_directories;
dispatcher!("gen", CMDGenerateProject => EntryGenerateProject);
diff --git a/mling/src/proj_mgr/show_binaries.rs b/mling/src/proj_mgr/show_binaries.rs
index 384d8a4..d6872cf 100644
--- a/mling/src/proj_mgr/show_binaries.rs
+++ b/mling/src/proj_mgr/show_binaries.rs
@@ -8,8 +8,11 @@ use mingling::{
use serde::Serialize;
use crate::{
- EntryShowBinaries, Next,
- metadata::{CargoLockFile, read_metadata},
+ Next,
+ proj_mgr::{
+ EntryShowBinaries,
+ metadata::{CargoLockFile, read_metadata},
+ },
res::ResManifestPath,
};
diff --git a/mling/src/proj_mgr/show_directories.rs b/mling/src/proj_mgr/show_directories.rs
index 32020c9..6a20eee 100644
--- a/mling/src/proj_mgr/show_directories.rs
+++ b/mling/src/proj_mgr/show_directories.rs
@@ -6,8 +6,8 @@ use mingling::{
use serde::Serialize;
use crate::{
- EntryShowTargetDirectories, EntryShowWorkspaceDirectory, Next, metadata::read_metadata,
- res::ResManifestPath,
+ EntryShowTargetDirectories, EntryShowWorkspaceDirectory, Next,
+ proj_mgr::metadata::read_metadata, res::ResManifestPath,
};
#[derive(Serialize, Groupped)]