35 lines
1 KiB
TOML
35 lines
1 KiB
TOML
[package]
|
|
name = "window_clipboard"
|
|
version = "0.1.2"
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|
edition = "2018"
|
|
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.3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
clipboard-win = { version = "4.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"))))'.dependencies]
|
|
clipboard_x11 = { version = "0.1", path = "./x11" }
|
|
clipboard_wayland = { version = "0.1", path = "./wayland" }
|
|
|
|
[dev-dependencies]
|
|
winit = "0.22"
|
|
|
|
[workspace]
|
|
members = [
|
|
"macos",
|
|
"wayland",
|
|
"x11",
|
|
]
|