cm-dashboard/shared/Cargo.toml
Christoffer Martinsson 2d290f40b2
All checks were successful
Build and Release / build-and-release (push) Successful in 1m33s
Fix data caching to prevent empty broadcasts
CRITICAL FIX: Collectors now update cached AgentData instead of
creating new empty data each cycle. This prevents the dashboard
from seeing flashing/disappearing data.

- Add cached_agent_data field to Agent struct
- Update cached data when collectors run
- Always broadcast the full cached data every 2s
- Only individual collectors respect their intervals
- Bump version to v0.1.230
2025-12-01 13:14:53 +01:00

10 lines
217 B
TOML

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