From 07bf5bb372fc94f346b039ad9eecfb64c8a1ff46 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 29 Jun 2026 04:27:39 +0800 Subject: 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`. --- mling/src/cli.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mling/src/cli.rs') diff --git a/mling/src/cli.rs b/mling/src/cli.rs index 01a836a..3000645 100644 --- a/mling/src/cli.rs +++ b/mling/src/cli.rs @@ -1,9 +1,9 @@ use crate::{ - CMDCompletion, ErrorDispatcherNotFound, Next, PackageManagerSetup, ProjectManagerSetup, - ThisProgram, + CMDCompletion, ErrorDispatcherNotFound, Next, ThisProgram, display::markdown, eformat_cargo, eprintln_cargo, hformat_cargo, - pkg_mgr::{CMDInstall, CMDListNamespace, CMDRemoveNamespace}, + pkg_mgr::{CMDInstall, CMDListNamespace, CMDRemoveNamespace, PackageManagerSetup}, + proj_mgr::ProjectManagerSetup, res::{ResCurrentDir, ResManifestPath}, }; use colored::Colorize; @@ -12,7 +12,7 @@ use mingling::{ hook::ProgramHook, macros::{chain, help, pack, program_setup, r_println, renderer}, res::ResExitCode, - setup::{ExitCodeSetup, StructuralRendererSetup, HelpFlagSetup, QuietFlagSetup}, + setup::{ExitCodeSetup, HelpFlagSetup, QuietFlagSetup, StructuralRendererSetup}, }; use std::{env::current_dir, path::PathBuf, process::exit, str::FromStr}; -- cgit