37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
[package]
|
|
name = "window_clipboard"
|
|
version = "0.3.0"
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|
edition = "2021"
|
|
description = "A library to obtain clipboard access from a `raw-window-handle`"
|
|
license = "MIT"
|
|
repository = "https://github.com/hecrj/window_clipboard"
|
|
documentation = "https://docs.rs/window_clipboard"
|
|
readme = "README.md"
|
|
keywords = ["clipboard", "window", "ui", "gui", "raw-window-handle"]
|
|
categories = ["gui"]
|
|
|
|
[dependencies]
|
|
raw-window-handle = "0.5"
|
|
thiserror = "1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
clipboard-win = { version = "5.0", features = ["std"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
clipboard_macos = { version = "0.1", path = "./macos" }
|
|
|
|
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios", target_os="redox"))))'.dependencies]
|
|
clipboard_x11 = { version = "0.4", path = "./x11" }
|
|
clipboard_wayland = { version = "0.2", path = "./wayland" }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|
|
winit = { version = "0.29", features = ["rwh_05"] }
|
|
|
|
[workspace]
|
|
members = [
|
|
"macos",
|
|
"wayland",
|
|
"x11",
|
|
]
|