2019-12-18 05:55:32 +01:00
|
|
|
[package]
|
|
|
|
|
name = "window_clipboard"
|
2024-02-13 02:45:43 +01:00
|
|
|
version = "0.4.1"
|
2019-12-18 05:55:32 +01:00
|
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
2023-04-11 06:21:59 +02:00
|
|
|
edition = "2021"
|
2019-12-18 05:55:32 +01:00
|
|
|
description = "A library to obtain clipboard access from a `raw-window-handle`"
|
|
|
|
|
license = "MIT"
|
2020-03-12 07:12:02 +01:00
|
|
|
repository = "https://github.com/hecrj/window_clipboard"
|
2019-12-18 05:55:32 +01:00
|
|
|
documentation = "https://docs.rs/window_clipboard"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
keywords = ["clipboard", "window", "ui", "gui", "raw-window-handle"]
|
|
|
|
|
categories = ["gui"]
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2024-01-16 21:28:25 -08:00
|
|
|
raw-window-handle = { version = "0.6", features = ["std"] }
|
2022-01-27 16:41:00 +07:00
|
|
|
thiserror = "1.0"
|
2019-12-19 05:47:36 +01:00
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2024-01-16 20:45:19 -08:00
|
|
|
clipboard-win = { version = "5.0", features = ["std"] }
|
2019-12-19 05:47:36 +01:00
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2020-08-06 11:04:12 +02:00
|
|
|
clipboard_macos = { version = "0.1", path = "./macos" }
|
2019-12-19 05:47:36 +01:00
|
|
|
|
2023-01-11 09:28:47 -07:00
|
|
|
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios", target_os="redox"))))'.dependencies]
|
2022-05-10 20:21:39 +02:00
|
|
|
clipboard_x11 = { version = "0.4", path = "./x11" }
|
2021-03-09 03:01:10 +01:00
|
|
|
clipboard_wayland = { version = "0.2", path = "./wayland" }
|
2019-12-18 05:55:32 +01:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-03-10 21:28:59 +01:00
|
|
|
rand = "0.8"
|
2024-01-16 21:12:14 -08:00
|
|
|
winit = "0.29"
|
2019-12-19 05:47:36 +01:00
|
|
|
|
|
|
|
|
[workspace]
|
|
|
|
|
members = [
|
|
|
|
|
"macos",
|
|
|
|
|
"wayland",
|
|
|
|
|
"x11",
|
|
|
|
|
]
|