aboutsummaryrefslogtreecommitdiff
path: root/mling/src/lib.rs
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/lib.rs
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/lib.rs')
-rw-r--r--mling/src/lib.rs19
1 files changed, 5 insertions, 14 deletions
diff --git a/mling/src/lib.rs b/mling/src/lib.rs
index 0e122f3..1bf38a7 100644
--- a/mling/src/lib.rs
+++ b/mling/src/lib.rs
@@ -5,23 +5,14 @@ use mingling::{
res::ResExitCode,
};
-pub mod cli;
-pub use cli::*;
-
mod cargo_style;
pub use cargo_style::*;
+
+pub mod cli;
pub mod display;
+pub mod errors;
+pub mod pkg_mgr;
+pub mod proj_mgr;
pub mod res;
-mod pkg_mgr;
-pub use pkg_mgr::*;
-
-mod proj_mgr;
-pub use proj_mgr::*;
-
-mod errors;
-pub use errors::*;
-
-use crate::display::markdown;
-
gen_program!();