diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-14 19:10:05 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-14 19:10:15 +0800 |
| commit | 538516a2104edba2c35b1f4ce40ec5a25589b62b (patch) | |
| tree | 369443ab85529b1584e16047bd7c2237886b2578 /mingling/src/lib.rs | |
| parent | 17e59392be8b08bc6e323551d2e4b12f770bfe88 (diff) | |
feat(picker): add optional `core` feature with re-exports
Define a `core` feature in mingling_picker that gates a new `corebind`
module and re-exports its contents. The module is propagated to the
upstream `mingling` crate under the same feature flag.
Diffstat (limited to 'mingling/src/lib.rs')
| -rw-r--r-- | mingling/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index ba87f85..9b13408 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -91,6 +91,9 @@ pub mod picker { pub mod parselib { pub use mingling_picker::parselib::*; } + + #[cfg(feature = "core")] + pub use mingling_picker::corebind::*; } /// Re-export of all macros from `mingling_macros`. |
