arboard 3.7.0

Image and text handling for the OS clipboard.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71.0"
name = "arboard"
version = "3.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Image and text handling for the OS clipboard."
readme = "README.md"
keywords = [
    "clipboard",
    "image",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/1Password/arboard"

[features]
core-graphics = ["dep:objc2-core-graphics"]
default = ["image-data"]
image = ["dep:image"]
image-data = [
    "dep:objc2-core-graphics",
    "dep:objc2-core-foundation",
    "image",
    "windows-sys",
    "core-graphics",
]
wayland-data-control = ["wl-clipboard-rs"]
windows-sys = ["windows-sys/Win32_Graphics_Gdi"]
wl-clipboard-rs = ["dep:wl-clipboard-rs"]

[lib]
name = "arboard"
path = "src/lib.rs"

[[example]]
name = "daemonize"
path = "examples/daemonize.rs"

[[example]]
name = "get_image"
path = "examples/get_image.rs"
required-features = ["image-data"]

[[example]]
name = "hello_world"
path = "examples/hello_world.rs"

[[example]]
name = "set_get_html"
path = "examples/set_get_html.rs"

[[example]]
name = "set_image"
path = "examples/set_image.rs"
required-features = ["image-data"]

[[example]]
name = "wait-once"
path = "examples/wait-once.rs"

[dependencies]

[dev-dependencies.env_logger]
version = "0.10.2"

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies.log]
version = "0.4"

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies.parking_lot]
version = "0.12"

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies.percent-encoding]
version = "2.3.1"

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies.wl-clipboard-rs]
version = "0.9.3"
optional = true

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies.x11rb]
version = "0.13"

[target.'cfg(target_os = "macos")'.dependencies.image]
version = "0.25"
features = ["tiff"]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.0"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.0"
features = [
    "std",
    "objc2-core-graphics",
    "NSPasteboard",
    "NSPasteboardItem",
    "NSImage",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.0"
features = [
    "std",
    "CFCGTypes",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3.0"
features = [
    "std",
    "CGImage",
    "CGColorSpace",
    "CGDataProvider",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.0"
features = [
    "std",
    "NSArray",
    "NSString",
    "NSEnumerator",
    "NSGeometry",
    "NSValue",
]
default-features = false

[target."cfg(windows)".dependencies.clipboard-win]
version = "5.3.1"
features = ["std"]

[target."cfg(windows)".dependencies.image]
version = "0.25"
features = [
    "png",
    "bmp",
]
optional = true
default-features = false

[target."cfg(windows)".dependencies.log]
version = "0.4"

[target."cfg(windows)".dependencies.windows-sys]
version = ">=0.52.0, <0.62.0"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_DataExchange",
    "Win32_System_Memory",
    "Win32_System_Ole",
    "Win32_UI_Shell",
]