agent: Cargo.toml — add windows-service 0.7 dependency (cfg windows)
This commit is contained in:
parent
2d7a8e47d9
commit
eae74e9d7d
@ -51,6 +51,10 @@ anyhow = "1"
|
|||||||
# HTTP client (for REST API session creation)
|
# HTTP client (for REST API session creation)
|
||||||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
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]
|
[profile.release]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
lto = true
|
lto = true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user