[package]
name = "ostp-daemon"
version.workspace = true
edition.workspace = true
description = "OSTP Windows Service - Background VPN Daemon"

[[bin]]
name = "ostp-daemon"
path = "src/main.rs"

[dependencies]
ostp = { path = "../ostp" }
osn = { path = "../osn" }
osds = { path = "../osds" }
tokio.workspace = true
anyhow.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
serde.workspace = true
serde_json.workspace = true

# Windows-specific
[target.'cfg(windows)'.dependencies]
windows-service = "0.7"
winapi = { version = "0.3", features = ["winsvc", "winbase", "processthreadsapi", "namedpipeapi", "fileapi", "handleapi", "minwindef"] }
