Remove clipboard_windows and simplify modules

This commit is contained in:
Héctor Ramón Jiménez 2020-03-12 07:12:02 +01:00
parent 8161059964
commit f697ee10bd
10 changed files with 100 additions and 350 deletions

View file

@ -5,7 +5,7 @@ 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/iced"
repository = "https://github.com/hecrj/window_clipboard"
documentation = "https://docs.rs/window_clipboard"
readme = "README.md"
keywords = ["clipboard", "window", "ui", "gui", "raw-window-handle"]
@ -15,12 +15,12 @@ categories = ["gui"]
raw-window-handle = "0.3"
[target.'cfg(windows)'.dependencies]
clipboard_windows = { version = "=0.1.0-alpha", path = "./windows" }
clipboard-win = "2.1"
[target.'cfg(target_os = "macos")'.dependencies]
clipboard_macos = { version = "=0.1.0-alpha", path = "./macos" }
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies]
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios"))))'.dependencies]
clipboard_x11 = { version = "=0.1.0-alpha", path = "./x11" }
clipboard_wayland = { version = "=0.1.0-alpha", path = "./wayland" }
@ -31,6 +31,5 @@ winit = "=0.20.0-alpha5"
members = [
"macos",
"wayland",
"windows",
"x11",
]