- Logs: every unit's as they come (the last 500 first, 5000 kept), one unit's on its own, following or held; terminal colours stripped; a virtual list, so thousands of lines cost nothing. The follow starts when the page is first opened and reconnects by itself. - Linux (development, tests): the service's children get SIGKILL when it dies (PR_SET_PDEATHSIG), as the Job Object does on Windows; a killed service no longer leaves sing-box running (the e2e test leaked one per run). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.0 KiB
TOML
43 lines
1.0 KiB
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",
|
|
] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = "0.2"
|