system_shutdown 4.1.0

Rust library for shut down, reboot or log out operations.
Documentation
[[example]]
name = "example_logout"
path = "examples/example_logout.rs"

[[example]]
name = "example_reboot"
path = "examples/example_reboot.rs"

[[example]]
name = "example_shutdown"
path = "examples/example_shutdown.rs"

[lib]
name = "system_shutdown"
path = "src/lib.rs"

[package]
authors = ["Silvio Clecio (silvioprog) <silvioprog@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "hardware-support", "os::macos-apis", "os::unix-apis", "os::windows-apis"]
description = "Rust library for shut down, reboot or log out operations."
edition = "2024"
homepage = "https://github.com/risoflora/system_shutdown"
keywords = ["system", "shutdown", "reboot"]
license = "MIT/Apache-2.0"
name = "system_shutdown"
readme = "README.md"
repository = "https://github.com/risoflora/system_shutdown"
version = "4.1.0"

[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5.13.1"

[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_Security", "Win32_System_Com", "Win32_System_Threading", "Win32_System_Shutdown", "Win32_System_Power", "Win32_System_SystemServices"]
version = "0.62"