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
37 lines
677 B
TOML
37 lines
677 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"socktop",
|
|
"socktop_agent"
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
# async + streams
|
|
tokio = { version = "1", features = ["full"] }
|
|
futures = "0.3"
|
|
futures-util = "0.3"
|
|
anyhow = "1.0"
|
|
|
|
# websocket
|
|
tokio-tungstenite = { version = "0.24", features = ["__rustls-tls", "connect"] }
|
|
tungstenite = "0.24"
|
|
url = "2.5"
|
|
|
|
# JSON + error handling
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# system stats
|
|
sysinfo = "0.32"
|
|
|
|
# CLI UI
|
|
ratatui = "0.28"
|
|
crossterm = "0.27"
|
|
|
|
# date/time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# web server (remote-agent)
|
|
axum = { version = "0.7", features = ["ws"] }
|