forked from 1Password/arboard
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
56 lines (48 loc) · 1.6 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "arboard"
version = "3.3.0"
authors = ["Artur Kovacs <kovacs.artur.barnabas@gmail.com>", "Avi Weinstock <aweinstock314@gmail.com>", "Arboard contributors"]
description = "Image and text handling for the OS clipboard."
repository = "https://github.com/1Password/arboard"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["clipboard", "image"]
edition = "2021"
rust-version = "1.61"
[features]
default = ["image-data"]
image-data = ["core-graphics", "image", "windows-sys"]
wayland-data-control = ["wl-clipboard-rs"]
[dependencies]
thiserror = "1.0"
[dev-dependencies]
env_logger = "0.11.3"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.48.0", optional = true, features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_DataExchange",
"Win32_System_Memory",
"Win32_System_Ole",
]}
clipboard-win = "5.3.1"
log = "0.4"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2"
objc_id = "0.1"
objc-foundation = "0.1"
core-graphics = { version = "0.22", optional = true }
image = { version = "0.24", optional = true, default-features = false, features = ["tiff"] }
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies]
log = "0.4"
x11rb = { version = "0.12" }
wl-clipboard-rs = { version = "0.8", optional = true }
os_pipe = { version = "1.1.5" }
image = { version = "0.24", optional = true, default-features = false, features = ["png"] }
parking_lot = "0.12"
[[example]]
name = "get_image"
required-features = ["image-data"]
[[example]]
name = "set_image"
required-features = ["image-data"]