diff --git a/agent/Cargo.toml b/agent/Cargo.toml index e6429bf..54720bc 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -51,6 +51,10 @@ anyhow = "1" # HTTP client (for REST API session creation) reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } +# Windows service support (only compiled on Windows) +[target.'cfg(windows)'.dependencies] +windows-service = "0.7" + [profile.release] opt-level = 3 lto = true