diff --git a/Cargo.toml b/Cargo.toml index 93cd08f..3ffcfde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ edition = "2018" readme = "README.md" [target.'cfg(windows)'.dependencies] -clipboard-win = {version = "4.0.2", features=["std"]} +clipboard-win = {version = "4.4", features=["std"]} [target.'cfg(target_os = "macos")'.dependencies] objc = "0.2" @@ -18,5 +18,5 @@ objc_id = "0.1" objc-foundation = "0.1" [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies] -wl-clipboard-rs = "0.6" -x11-clipboard = "0.6" +wl-clipboard-rs = "0.7" +x11-clipboard = "0.7" diff --git a/src/x11_clipboard.rs b/src/x11_clipboard.rs index d19976e..4b885db 100644 --- a/src/x11_clipboard.rs +++ b/src/x11_clipboard.rs @@ -18,9 +18,8 @@ use crate::common::*; use crate::Result; use std::marker::PhantomData; use std::time::Duration; -use x11_clipboard_crate::xcb::x::Atom; -use x11_clipboard_crate::Atoms; use x11_clipboard_crate::Clipboard as X11Clipboard; +use x11_clipboard_crate::{Atom, Atoms}; pub trait Selection { fn atom(atoms: &Atoms) -> Atom;