Add WSS/TLS (self‑signed) with client cert pinning; auto ws→wss on --tls-ca/-t; add -p/-t flags; harden TLS test; fix clippy; update README. feat: WSS/TLS support (self‑signed + pinning), auto ws→wss when CA provided, new -p/-t flags; tests + clippy cleanup; docs updated. Add TLS: self‑signed certs on agent, client pin via --tls-ca/-t (auto‑upgrade to wss), CLI/tests/README updates, clippy fixes. 12 files changed Cargo.toml README.md Cargo.tomlsocktop_agent main.rssocktop_agent/src tls.rssocktop_agent/src cli_args.rssocktop_agent/tests Add Context... README.md
32 lines
1.0 KiB
TOML
32 lines
1.0 KiB
TOML
[package]
|
||
name = "socktop_agent"
|
||
version = "0.1.1"
|
||
authors = ["Jason Witty <jasonpwitty+socktop@proton.me>"]
|
||
description = "Remote system monitor over WebSocket, TUI like top"
|
||
edition = "2021"
|
||
license = "MIT"
|
||
|
||
[dependencies]
|
||
tokio = { version = "1", features = ["full"] }
|
||
axum = { version = "0.7", features = ["ws", "macros"] }
|
||
sysinfo = { version = "0.37", features = ["network", "disk", "component"] }
|
||
serde = { version = "1", features = ["derive"] }
|
||
serde_json = "1"
|
||
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
|
||
futures = "0.3"
|
||
futures-util = "0.3.31"
|
||
tracing = "0.1"
|
||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||
nvml-wrapper = "0.10"
|
||
gfxinfo = "0.1.2"
|
||
tungstenite = "0.27.0"
|
||
once_cell = "1.19"
|
||
axum-server = { version = "0.6", features = ["tls-rustls"] }
|
||
rustls = "0.23"
|
||
rustls-pemfile = "2.1"
|
||
openssl = { version = "0.10", features = ["vendored"] } # for cross‑platform self‑signed generation
|
||
anyhow = "1"
|
||
hostname = "0.3"
|
||
[dev-dependencies]
|
||
assert_cmd = "2.0"
|
||
tempfile = "3.10" |