Update raw-window-handle to v0.5. This mainly consisted of using the newly added RawDisplayHandle trait instead of the previously used RawWindowHandle trait. For the Linux implementation, this also included updating winit to v0.27
37 lines
1 KiB
TOML
37 lines
1 KiB
TOML
[package]
|
|
name = "window_clipboard"
|
|
version = "0.2.3"
|
|
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.5"
|
|
thiserror = "1.0"
|
|
|
|
[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.4", path = "./x11" }
|
|
clipboard_wayland = { version = "0.2", path = "./wayland" }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|
|
winit = "0.27"
|
|
|
|
[workspace]
|
|
members = [
|
|
"macos",
|
|
"wayland",
|
|
"x11",
|
|
]
|