-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
30 lines (26 loc) · 936 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
[package]
name = "display-info"
version = "0.5.2"
edition = "2021"
description = "Cross-platform get display info"
license-file = "LICENSE"
documentation = "https://docs.rs/display-info"
homepage = "https://github.com/nashaofu/display-info"
repository = "https://github.com/nashaofu/display-info.git"
keywords = ["display", "screen", "displayinfo", "display-info"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
log = "0.4.21"
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.23"
[target.'cfg(target_os = "windows")'.dependencies]
fxhash = "0.2"
widestring = "1.0"
windows = { version = "0.56", features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
] }
[target.'cfg(target_os = "linux")'.dependencies]
xcb = { version = "1.3", features = ["randr"] }
smithay-client-toolkit = { version = "0.18.1", default-features = false }