-
Notifications
You must be signed in to change notification settings - Fork 35
/
Cargo.toml
35 lines (31 loc) · 1.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "copypasta"
version = "0.10.1"
authors = ["Christian Duerr <contact@christianduerr.com>"]
description = "copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard."
repository = "https://github.com/alacritty/copypasta"
documentation = "https://docs.rs/copypasta"
readme = "README.md"
license = "MIT / Apache-2.0"
keywords = ["clipboard"]
exclude = ["/.travis.yml"]
edition = "2021"
rust-version = "1.65.0"
[features]
default = ["x11", "wayland", "wayland-dlopen"]
x11 = ["x11-clipboard"]
wayland = ["smithay-clipboard"]
wayland-dlopen = ["smithay-clipboard/dlopen"]
[target.'cfg(windows)'.dependencies]
clipboard-win = "3.0.2"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5.1"
objc2-foundation = { version = "0.2.0", features = [
"NSArray",
"NSString",
"NSURL",
] }
objc2-app-kit = { version = "0.2.0", features = ["NSPasteboard"] }
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="ios", target_os="emscripten"))))'.dependencies]
x11-clipboard = { version = "0.9.1", optional = true }
smithay-clipboard = { version = "0.7.0", default-features = false, optional = true }