All checks were successful
Build and Release / build-and-release (push) Successful in 1m13s
Replace JSON parsing with simpler text output parsing from tailscale status command. The text format clearly shows hostname and connection method (direct/relay/idle) making detection more reliable. Fixes issues with incorrect hostname (localhost instead of actual name) and incorrect connection method detection (showing relay when actually using direct connection).
22 lines
587 B
TOML
22 lines
587 B
TOML
[package]
|
|
name = "cm-dashboard"
|
|
version = "0.1.264"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
cm-dashboard-shared = { workspace = true }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true }
|
|
zmq = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
ratatui = { workspace = true }
|
|
crossterm = { workspace = true }
|
|
toml = { workspace = true }
|
|
gethostname = { workspace = true }
|
|
wake-on-lan = "0.2" |