diff --git a/src/image/uikit.rs b/src/image/uikit.rs index 413bca7..ef989fe 100644 --- a/src/image/uikit.rs +++ b/src/image/uikit.rs @@ -5,7 +5,6 @@ use objc::runtime::{Class, Object, Sel, BOOL}; use objc::{class, sel, sel_impl}; use objc_id::Id; -use crate::dragdrop::DragInfo; use crate::foundation::{id, NSUInteger, NO, YES}; use crate::utils::load; use crate::view::{ViewDelegate, VIEW_DELEGATE_PTR}; diff --git a/src/lib.rs b/src/lib.rs index decd711..355bce9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -121,7 +121,7 @@ pub mod color; #[cfg(feature = "appkit")] pub mod control; -#[cfg(any(feature = "appkit", feature = "uikit"))] +#[cfg(feature = "appkit")] pub mod dragdrop; pub mod error; @@ -155,7 +155,7 @@ pub mod networking; pub mod notification_center; pub(crate) mod objc_access; -#[cfg(any(feature = "appkit", feature = "uikit"))] +#[cfg(feature = "appkit")] pub mod pasteboard; #[cfg(feature = "appkit")]