[package]
name = "lumux-server"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Daemon for lumux: owns the PTYs and session tree and renders VT to clients."

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

[dependencies]
lumux-core = { workspace = true }
tracing = { workspace = true }
anyhow = { workspace = true }

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_SystemInformation"] }

[dev-dependencies]
lumux-backend-unix = { workspace = true }

[target.'cfg(windows)'.dev-dependencies]
lumux-backend-win = { workspace = true }
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_SystemInformation"] }
