-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
42 lines (36 loc) · 1.04 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
[package]
name = "psp"
description = "Cross-platform power state events plugin"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
[dependencies]
libc = "0.2"
crossbeam-channel = "0.5"
[target."cfg(target_os = \"macos\")".dependencies]
objc = "0.2"
cocoa = "0.24"
core-foundation = "0.9"
core-graphics = "0.22"
dispatch = "0.2"
scopeguard = "1.1"
png = "0.17"
[target."cfg(target_os = \"windows\")".dependencies]
windows = { version = "0.48", features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_System_Power",
"Win32_System_RemoteDesktop",
"Win32_System_SystemServices",
"Win32_UI_Controls",
"Win32_UI_WindowsAndMessaging",
] }
[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
zbus = "3"
tokio = { version = "1", features = ["full"] }
[dev-dependencies]
tao = "0.20.0"
winit = "0.28.6"