refactor: TUI multi-feed monitor with binary parsers

- Add ratatui/crossterm TUI replacing stdout data dump
- Add binary parsers for KSUDP RTCarInfo (port 9996) and Telemetry Tool (port 10101)
- Add shared binary_utils module for safe packet reading
- Add ring-buffer frequency calculation and feed health state machine
- Add parse_first_driver() to avoid unnecessary multi-driver allocation
- Add 27 unit tests (14 feed_state + 6 ksudp + 7 telemetry_tool)
- Move parsing outside mutex lock to minimize TUI contention
- Replace expect() on env var with graceful error handling
- Remove unused serde dependency
- Delete obsolete stats.rs and telemetry.rs
This commit is contained in:
Jan-Peter von Hunnius 2026-06-04 08:48:35 +02:00
parent 1731495197
commit 7a1c37fc86
11 changed files with 2308 additions and 307 deletions

View file

@ -1,12 +1,12 @@
[package]
name = "rusty-telemetry"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
description = "Sim racing telemetry receiver and analyzer"
[dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = "0.4"
futures = "0.3"
ratatui = "0.29"
crossterm = "0.28"