diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-28 04:10:24 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-28 04:10:24 +0800 |
| commit | 69250e8f99c16c70ffe04fccf3192eb648f6e4f5 (patch) | |
| tree | 8036e94d63c1beeacb1eaae176aa987a877dcb56 /mingling_core | |
| parent | caf2ec52437e16c42ebc1d826607c814ed7a889e (diff) | |
feat(workspace): add mingling_pathf crate and pathf feature
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/Cargo.toml | 3 | ||||
| -rw-r--r-- | mingling_core/src/builds.rs | 3 |
2 files changed, 6 insertions, 0 deletions
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::*; |
