Publish harness and TUI open-source
initial sync from the monorepo
This commit is contained in:
commit
c68e39f604
2734 changed files with 1437016 additions and 0 deletions
23
crates/codegen/xai-system-power/Cargo.toml
Normal file
23
crates/codegen/xai-system-power/Cargo.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[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
|
||||
Loading…
Reference in a new issue