[package] name = "xai-system-power" version = "0.1.0" edition.workspace = true license = "Apache-2.0" description = "Cross-platform system sleep/wake (suspend) notifications — used to defer work across a suspend boundary" [dependencies] [target.'cfg(target_os = "linux")'.dependencies] zbus = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] windows-sys = { version = "0.59", features = [ "Win32_Foundation", "Win32_System_Power", # Provides REGISTER_NOTIFICATION_FLAGS / DEVICE_NOTIFY_CALLBACK and gates # PowerRegisterSuspendResumeNotification (its flags param lives here). "Win32_UI_WindowsAndMessaging", ] } [lints] workspace = true