[package] name = "clipboard" version = "0.1.0" edition = "2021" build = "build.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] cc = "1.0" [dependencies] thiserror = "1.0" lazy_static = "1.4" serde = "1.0" serde_derive = "1.0" hbb_common = { path = "../hbb_common" } parking_lot = {version = "0.12"} [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies] rand = {version = "0.8"} fuser = {version = "0.13"} libc = {version = "0.2"} dashmap = "5.5" percent-encoding = "2.3" utf16string = "0.2" once_cell = "1.18" [target.'cfg(target_os = "linux")'.dependencies] x11-clipboard = {git="https://github.com/clslaid/x11-clipboard", branch = "feat/store-batch"} x11rb = {version = "0.12", features = ["all-extensions"]} [target.'cfg(target_os = "macos")'.dependencies] cacao = {git="https://github.com/clslaid/cacao", branch = "feat/set-file-urls"}