From d77e8926dff6466f0c46ee4529dd9f7b9772ae99 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 17 Jul 2026 08:48:35 +0800 Subject: feat(corebind): add EntryPicker trait for binding entry types to Picker BREAKING CHANGE: prelude now exports EntryPicker in place of IntoPicker when mingling_support feature is enabled --- mingling_picker/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mingling_picker/src/lib.rs') diff --git a/mingling_picker/src/lib.rs b/mingling_picker/src/lib.rs index ffa6e13..0ade673 100644 --- a/mingling_picker/src/lib.rs +++ b/mingling_picker/src/lib.rs @@ -29,8 +29,13 @@ pub mod value; /// use mingling_picker::prelude::*; /// ``` pub mod prelude { - pub use crate::IntoPicker; pub use crate::macros::arg; + + #[cfg(not(feature = "mingling_support"))] + pub use crate::IntoPicker; + + #[cfg(feature = "mingling_support")] + pub use crate::corebind::EntryPicker; } /// Re-export of the `mingling_picker_macros` crate -- cgit