[workspace]
members = ["wl-clipboard-rs-tools"]
[workspace.package]
version = "0.9.1"
authors = ["Ivan Molodetskikh <yalterz@gmail.com>"]
edition = "2021"
license = "MIT/Apache-2.0"
repository = "https://github.com/YaLTeR/wl-clipboard-rs"
keywords = ["wayland", "clipboard"]
[workspace.dependencies]
libc = "0.2.159"
log = "0.4.22"
rustix = "0.38.37"
[package]
name = "wl-clipboard-rs"
version.workspace = true
authors.workspace = true
description = "Access to the Wayland clipboard for terminal and other window-less applications."
edition.workspace = true
license.workspace = true
readme = "README.md"
documentation = "https://docs.rs/wl-clipboard-rs"
repository.workspace = true
keywords.workspace = true
categories = ["os"]
[dependencies]
libc.workspace = true
log.workspace = true
os_pipe = { version = "1.2.1", features = ["io_safety"] }
rustix = { workspace = true, features = ["fs", "event"] }
tempfile = "3.13.0"
thiserror = "1"
tree_magic_mini = "3.1.5"
wayland-backend = "0.3.7"
wayland-client = "0.31.6"
wayland-protocols = { version = "0.32.4", features = ["client"] }
wayland-protocols-wlr = { version = "0.3.4", features = ["client"] }
[dev-dependencies]
wayland-server = "0.31.5"
wayland-protocols = { version = "0.32.4", features = ["server"] }
wayland-protocols-wlr = { version = "0.3.4", features = ["server"] }
proptest = "1.5.0"
proptest-derive = "0.5.0"
[features]
native_lib = ["wayland-backend/client_system", "wayland-backend/server_system"]
dlopen = ["native_lib", "wayland-backend/dlopen", "wayland-backend/dlopen"]