forked from nashaofu/xcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (27 loc) · 976 Bytes
/
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
[package]
name = "screenshots"
version = "0.6.0"
edition = "2021"
description = "A cross-platform screen capturer library"
license = "Apache-2.0"
documentation = "https://docs.rs/screenshots"
homepage = "https://github.com/nashaofu/screenshots-rs"
repository = "https://github.com/nashaofu/screenshots-rs.git"
keywords = ["screenshots", "screenshot", "screen", "capture"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
png = "0.17.8"
display-info = "0.4.2"
anyhow = "1.0.71"
percent-encoding = "2.3.0"
[target.'cfg(target_os="macos")'.dependencies]
core-graphics = "0.22.3"
[target.'cfg(target_os="windows")'.dependencies]
fxhash = "0.2.1"
widestring = "1.0.2"
[target.'cfg(target_os="windows")'.dependencies.windows]
version = "0.48.0"
features = ["Win32_Foundation", "Win32_Graphics_Gdi"]
[target.'cfg(target_os="linux")'.dependencies]
dbus = { version = "0.9.7", features = ["vendored"] }
xcb = "1.2.1"