Comparison with other Rust TUI crates
Measured with cargo tree -e normal on Linux x86-64 with default features, 2026-11-27, unless the row says otherwise. Dependency counts are unique crates, the crate itself included.
| Project | Version | Crates in cargo tree | Messages | Async runtime | Renderer | Licence |
|---|---|---|---|---|---|---|
| petitcarnets | 0.0.10 | 1 | your own enum, matched exhaustively | none | cell diff, one thread | MIT OR Apache-2.0 |
| bubbletea-rs | 0.0.9 | 53 (77 with bubbletea-widgets) | Box<dyn Any> | tokio by default | clears every frame | MIT |
| charmed_rust (charmed-bubbletea) | 0.3.0 | about 49 | downcast | not checked | whole-frame compare | MIT on crates.io; the repository's licence adds a rider |
| ratatui | 0.30 (0.30.2 latest) | about 70 (with crossterm) | no runtime: immediate mode | none | cell diff | MIT |
| tui-realm, iocraft, cursive | latest, 2026-11-27 | 61 to 79 each | components, hooks, retained views | varies | varies | MIT (iocraft: MIT OR Apache-2.0) |
Sources: docs/migrating-from-bubbletea-rs.md (bubbletea-rs, measured for its counter); the petitcarnets implementation plan's market survey of 2026-11-27 (the others); licences and versions from the crates.io API, 2026-12-02. Bytes per frame for petitcarnets, charmed-bubbletea, bubbletea-rs and Bubble Tea v2 are in BENCHMARKS.md.
Where petitcarnets loses
- Ecosystem. ratatui has far more users and widgets; Bubble Tea has Lip Gloss, Huh and Wish, which are not ported.
- Windows. No console backend yet.
- One frame shape. The counter scenario writes 4.2 bytes a frame to Bubble Tea's 2.3, because the renderer never moves the cursor with backspaces or tabs (BENCHMARKS.md).