[package]
name = "arboard"
version = "2.1.1"
authors = ["Artur Kovacs <kovacs.artur.barnabas@gmail.com>", "Avi Weinstock <aweinstock314@gmail.com>", "Arboard contributors"]
description = "Image and text handling for the OS clipboard."
repository = "https://github.com/1Password/arboard"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["clipboard", "image"]
edition = "2018"
[features]
default = ["image-data"]
image-data = ["core-graphics", "image", "winapi/minwindef", "winapi/wingdi", "winapi/winnt"]
wayland-data-control = ["wl-clipboard-rs"]
[dependencies]
thiserror = "1.0"
[dev-dependencies]
simple_logger = "2.1"
env_logger = "0.9.0"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = [
"basetsd",
"winuser",
"winbase",
]}
clipboard-win = "4.2"
log = "0.4"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2"
objc_id = "0.1"
objc-foundation = "0.1"
core-graphics = { version = "0.22", optional = true }
image = { version = "0.23", optional = true, default-features = false, features = ["tiff"] }
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies]
log = "0.4"
x11rb = { version = "0.9" }
wl-clipboard-rs = { version = "0.4.1", optional = true }
image = { version = "0.23.9", optional = true, default-features = false, features = ["png"] }
parking_lot = "0.12"
[[example]]
name = "get_image"
required-features = ["image-data"]
[[example]]
name = "set_image"
required-features = ["image-data"]