components.json pins sing-box, XRay, Flowseal's zapret, bol-van's winws2 bundle with nfqws2-keenetic's strategies, and tg-ws-proxy (built with the release): release assets by archive hash, commit snapshots by the hash of every file taken. The service installs them (admin only), staged and swapped in, refusing archive paths that leave the directory, and checks each program against the hashes recorded at install before running it. stage-components does the same for building a release. The state root is created with its protected descriptor in one call, or, existing, checked through a handle that does not follow links. tools/wine-e2e.sh runs the Windows build under Wine: the service, the named pipe, impersonation, the component check, rendering and the supervisor all work; Wine lacks an iphlpapi call sing-box needs, so proxying itself needs real Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
897 B
TOML
38 lines
897 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_Threading",
|
|
] }
|