diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-29 04:27:39 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-29 04:27:39 +0800 |
| commit | 07bf5bb372fc94f346b039ad9eecfb64c8a1ff46 (patch) | |
| tree | 398662be9b13e5e06ff13ead775c00807b43c0c8 /mling/src/cli.rs | |
| parent | 7ff051635eac6b10fcd66a1878563c8155a661a4 (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/cli.rs')
| -rw-r--r-- | mling/src/cli.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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}; |
