turbo
3dbd860a - fix: Upgrade ratatui to 0.30.0 to drop unmaintained paste crate (#11723)

Commit
15 days ago
fix: Upgrade ratatui to 0.30.0 to drop unmaintained paste crate (#11723) ## Summary - Upgrades `ratatui` from 0.26.1 to 0.30.0 - Upgrades `tui-term` from 0.1.9 to 0.3.1 (required for ratatui 0.30.0 compatibility) - Upgrades `crossterm` from 0.27.0 to 0.29.0 (required by ratatui 0.30.0) - **Fully removes the unmaintained `paste` crate** from the dependency tree (RUSTSEC-2024-0436) ### Code changes - `cleanup()` function: constrained `Backend` generic to `Backend<Error = io::Error>` to match ratatui 0.30's associated error type - `view()`: `f.size()` → `f.area()` (deprecated API) - `TaskTable`: `highlight_style()` → `row_highlight_style()` (deprecated API) - Removed unused `Stylize` import from `table.rs` ### Reviewer notes ratatui 0.30.0 restructured into sub-crates (`ratatui-core`, `ratatui-widgets`, `ratatui-crossterm`) but the `ratatui` umbrella crate re-exports everything, so import paths are unchanged. Our usage is straightforward (basic widgets, layout, style, backend) so the upgrade was simple enough. CLOSES TURBO-5226
Author
Parents
Loading