[package]
name = "lumotia-hotkey"
version.workspace = true
edition.workspace = true
repository.workspace = true
license.workspace = true
description = "Wayland-compatible global hotkey listener for Lumotia — evdev backend with device hotplug"

[dependencies]
lumotia-core = { path = "../core" }
tokio = { version = "1", features = ["rt", "sync", "macros", "time"] }
serde = { version = "1", features = ["derive"] }
tracing = "0.1"

[target.'cfg(target_os = "linux")'.dependencies]
evdev = { version = "0.12", features = ["tokio"] }
notify = { version = "7", default-features = false, features = ["macos_fsevent"] }
nix = { version = "0.29", features = ["fs"] }

[dev-dependencies]
# `rt-multi-thread` enables `#[tokio::test(flavor = "multi_thread")]` used by
# the supervisor + listener lifecycle regression tests. Without it the
# concurrency leak coverage cannot exercise real parallelism.
tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync", "macros", "time"] }
