-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
33 lines (31 loc) · 897 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
33
[package]
name = 'system_shutdown'
version = '4.0.1'
authors = ['Silvio Clecio (silvioprog) <[email protected]>']
license = 'MIT/Apache-2.0'
description = 'Rust library for shut down, reboot or log out operations.'
homepage = 'https://github.com/risoflora/system_shutdown'
repository = 'https://github.com/risoflora/system_shutdown'
readme = 'README.md'
keywords = ['system', 'shutdown', 'reboot']
categories = [
'api-bindings',
'hardware-support',
'os::macos-apis',
'os::unix-apis',
'os::windows-apis',
]
edition = '2021'
[target.'cfg(target_os = "linux")'.dependencies]
"zbus" = "5.3.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = '0.59.0'
features = [
'Win32_Foundation',
'Win32_Security',
'Win32_System_Com',
'Win32_System_Threading',
'Win32_System_Shutdown',
'Win32_System_Power',
'Win32_System_SystemServices',
]