From eae74e9d7df4dec43d311e346d8d9e485a8c9924 Mon Sep 17 00:00:00 2001 From: Butterfly Dev Date: Tue, 7 Apr 2026 05:31:47 +0000 Subject: [PATCH] =?UTF-8?q?agent:=20Cargo.toml=20=E2=80=94=20add=20windows?= =?UTF-8?q?-service=200.7=20dependency=20(cfg=20windows)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) 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