[package]
edition = "2021"
name = "user-idle2"
version = "0.6.2"
authors = [
"Edwin Svensson <user_idle_rs@olback.net>",
"pieterdd",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Get a user's idle time."
readme = "README.md"
keywords = [
"idle",
"gui",
"ui",
"user",
"afk",
]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
all-features = false
[lib]
name = "user_idle2"
path = "src/lib.rs"
[[example]]
name = "get_time"
path = "examples/get_time.rs"
[target.'cfg(target_os = "linux")'.dependencies.dbus]
version = "0.9"
[target.'cfg(target_os = "linux")'.dependencies.x11]
version = "2.21"
features = [
"xlib",
"xss",
]
[target.'cfg(target_os = "macos")'.dependencies.CoreFoundation-sys]
version = "0.1.4"
[target.'cfg(target_os = "macos")'.dependencies.IOKit-sys]
version = "0.1.5"
[target.'cfg(target_os = "macos")'.dependencies.cstr]
version = "0.2.11"
[target.'cfg(target_os = "macos")'.dependencies.mach]
version = "0.3.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.48.0"
features = [
"Win32_Foundation",
"Win32_System_SystemInformation",
"Win32_UI_Input_KeyboardAndMouse",
]