cm-dashboard/shared/Cargo.toml
Christoffer Martinsson 6179bd51a7
All checks were successful
Build and Release / build-and-release (push) Successful in 2m32s
Implement WakeOnLAN functionality with simplified configuration
- Add Status::Offline enum variant for disconnected hosts
- All configured hosts now always visible showing offline status when disconnected
- Add WakeOnLAN support using wake-on-lan Rust crate
- Implement w key binding to wake offline hosts with MAC addresses
- Simplify configuration to single [hosts] section with MAC addresses only
- Change critical status icon from ◯ to ! for better visibility
- Add proper MAC address parsing and error handling
- Silent WakeOnLAN operation with logging for success/failure

Configuration format:
[hosts]
hostname = { mac_address = "AA:BB:CC:DD:EE:FF" }
2025-10-31 09:03:01 +01:00

10 lines
216 B
TOML

[package]
name = "cm-dashboard-shared"
version = "0.1.54"
edition = "2021"
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
thiserror = { workspace = true }