4 releases (2 unstable)
Uses new Rust 2024
| new 1.0.0-rc2 | May 11, 2026 |
|---|---|
| 1.0.0-rc1 | May 1, 2026 |
| 0.15.0 | Mar 31, 2026 |
| 0.14.0 | Mar 19, 2026 |
#51 in #copper
Used in 5 crates
(2 directly)
265KB
6K
SLoC
cu_tuimon
cu_tuimon is the shared Ratatui UI library for Copper monitors.
It does not implement CuMonitor itself. Instead, it provides:
MonitorModel: shared monitor state updated from Copper runtime dataMonitorUi: reusable Ratatui rendering for system info, DAG, latency, bandwidth, pool, and log viewsMonitorUiEventandMonitorUiKey: backend-neutral monitor input events shared by multiple frontendsMonitorLogCapture: shared live Copper log and optionalstderrcapture for monitor frontends- shared scrolling and screen-selection behavior used by multiple frontends
Current intended consumers:
cu_consolemon: terminal / crossterm frontendcu_bevymon: Bevy /bevy_ratatuifrontend
Input ownership:
cu_tuimonowns monitor behavior and bindingscu_tuimonowns the sharedLOGpane, including live Copper log formatting- frontend adapters translate raw backend events into
MonitorUiEvent cu_tuimonnever needs to know whether it is running in a terminal or in Bevy
This crate lives under components/libs because it is a reusable UI backend, not a standalone monitor component.
Dependencies
~23–64MB
~1M SLoC