#![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use)]
mod common;
pub use crate::common::ClipboardProvider;
#[cfg(all(
unix,
not(any(
target_os = "macos",
target_os = "android",
target_os = "ios",
target_os = "emscripten"
))
))]
#[cfg(feature = "wayland")]
pub mod wayland_clipboard;
#[cfg(all(
unix,
not(any(
target_os = "macos",
target_os = "android",
target_os = "ios",
target_os = "emscripten"
))
))]
#[cfg(feature = "x11")]
pub mod x11_clipboard;
#[cfg(windows)]
pub mod windows_clipboard;
#[cfg(target_os = "macos")]
pub mod osx_clipboard;
pub mod nop_clipboard;
#[cfg(all(
unix,
not(any(
target_os = "macos",
target_os = "android",
target_os = "ios",
target_os = "emscripten"
))
))]
#[cfg(feature = "x11")]
pub type ClipboardContext = x11_clipboard::X11ClipboardContext;
#[cfg(windows)]
pub type ClipboardContext = windows_clipboard::WindowsClipboardContext;
#[cfg(target_os = "macos")]
pub type ClipboardContext = osx_clipboard::OSXClipboardContext;
#[cfg(target_os = "android")]
pub type ClipboardContext = nop_clipboard::NopClipboardContext; #[cfg(target_os = "ios")]
pub type ClipboardContext = nop_clipboard::NopClipboardContext; #[cfg(not(any(
unix,
windows,
target_os = "macos",
target_os = "android",
target_os = "ios",
target_os = "emscripten"
)))]
pub type ClipboardContext = nop_clipboard::NopClipboardContext;