From 69250e8f99c16c70ffe04fccf3192eb648f6e4f5 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 28 Jun 2026 04:10:24 +0800 Subject: feat(workspace): add mingling_pathf crate and pathf feature --- mingling_core/Cargo.toml | 3 +++ mingling_core/src/builds.rs | 3 +++ 2 files changed, 6 insertions(+) (limited to 'mingling_core') diff --git a/mingling_core/Cargo.toml b/mingling_core/Cargo.toml index b22a630..85afd55 100644 --- a/mingling_core/Cargo.toml +++ b/mingling_core/Cargo.toml @@ -28,8 +28,11 @@ repl = [] clap = [] comp = ["dep:just_template"] debug = ["dep:log", "dep:env_logger"] +pathf = ["dep:mingling_pathf"] [dependencies] +mingling_pathf = { workspace = true, optional = true } + just_fmt.workspace = true # comp diff --git a/mingling_core/src/builds.rs b/mingling_core/src/builds.rs index 0123c82..51bafe6 100644 --- a/mingling_core/src/builds.rs +++ b/mingling_core/src/builds.rs @@ -1,3 +1,6 @@ #[doc(hidden)] #[cfg(feature = "comp")] pub mod comp; + +#[cfg(all(feature = "builds", feature = "pathf"))] +pub use mingling_pathf::*; -- cgit