1[package]
2name = "copypasta"
3version = "0.10.1"
4authors = ["Christian Duerr <contact@christianduerr.com>"]
5description = "copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard."
6repository = "https://github.com/alacritty/copypasta"
7documentation = "https://docs.rs/copypasta"
8readme = "README.md"
9license = "MIT / Apache-2.0"
10keywords = ["clipboard"]
11exclude = ["/.travis.yml"]
12edition = "2021"
13rust-version = "1.65.0"
14
15[features]
16default = ["x11", "wayland"]
17x11 = ["x11-clipboard"]
18wayland = ["smithay-clipboard"]
19
20[target.'cfg(windows)'.dependencies]
21clipboard-win = "3.0.2"
22
23[target.'cfg(target_os = "macos")'.dependencies]
24objc = "0.2"
25objc_id = "0.1"
26objc-foundation = "0.1"
27
28[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="ios", target_os="emscripten"))))'.dependencies]
29x11-clipboard = { version = "0.9.1", optional = true }
30smithay-clipboard = { version = "0.7.0", optional = true }
31