The once-per-process guard recorded the root before ensure_root ran. A first check that failed (the service log's create_all ignores its error) left the root marked as checked, so run()'s create_all skipped the check and the service went on with a root it could not secure, and runs what is under its bin\ as SYSTEM. Now only a check that passed is recorded, under the lock, and a failed one fails again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.3 KiB
TOML
39 lines
1.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/ps-core", "crates/ps-ipc", "crates/ps-service", "crates/ps-ctl"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0-pre.2"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
repository = "https://git.faumaray.com/faumaray/proxy-suite-flake"
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
regex = "1"
|
|
thiserror = "2"
|
|
percent-encoding = "2"
|
|
ipnet = "2"
|
|
indexmap = { version = "2", features = ["serde"] }
|
|
tokio = { version = "1.54", features = ["rt-multi-thread", "macros", "net", "io-util", "process", "time", "sync", "fs", "signal"] }
|
|
clap = { version = "4.6", features = ["derive"] }
|
|
reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider", "socks", "json", "stream", "http2", "query"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
|
|
windows-service = "0.8"
|
|
windows-sys = "0.61"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
rand = "0.9"
|
|
sha2 = "0.10"
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
ps-core = { path = "crates/ps-core" }
|
|
ps-ipc = { path = "crates/ps-ipc" }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
strip = true
|
|
codegen-units = 4
|