Files
proxy-suite-flake/windows/crates/ps-service/Cargo.toml
T
faumarayandClaude Opus 5.5 28cc7b2cbe windows: install into Program Files, seed components, log as a service
install copies the release into %ProgramFiles%\ProxySuite (upgrading in
place when the service exists), registers it there, and puts it on the
system PATH: a copy in Downloads could be replaced by any user, and the
service runs it as SYSTEM. uninstall removes the service, the PATH
entry and the program files, and leaves the state.

At every start the service copies the release's components into bin\
when they are newer, staged and verified file by file, and only from a
service running in Program Files. Under the Service Control Manager it
logs to logs\service.log, reports StartPending until the API listens,
and a failed start as a service-specific error.

zapret refuses to start while Flowseal's, the win bundle's or
GoodbyeDPI's service holds WinDivert, and says which to remove.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:10:26 +03:00

40 lines
962 B
TOML

[package]
name = "ps-service"
description = "Proxy Suite for Windows: the service that runs the backends"
version.workspace = true
edition.workspace = true
license.workspace = true
[[bin]]
name = "proxy-suite-service"
path = "src/main.rs"
[dependencies]
ps-core.workspace = true
ps-ipc.workspace = true
anyhow.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
clap.workspace = true
reqwest.workspace = true
rustls.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
rand.workspace = true
sha2.workspace = true
zip.workspace = true
[target.'cfg(windows)'.dependencies]
windows-service.workspace = true
windows-sys = { workspace = true, features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
"Win32_Security_Authorization",
"Win32_Storage_FileSystem",
"Win32_System_Registry",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
] }