This is a small Rust library that adds several widgets and utilities to micro-optimize the rendering time of applications using the tui crate. There are currently five non-allocating widgets provided by this library.
The following list of widgets are meant to be used as fast substitutes for an equivalent tui widget:
SimpleText- Renders a single line of text with one style. Substitute for tui::widgets::Paragraph.TextFragments- Renders fragments of text with different styles across multiple lines. Substitute for tui::widgets::Paragraph.SimpleList- Renders a given item iterator as a vertical list. Substitute for tui::widgets::List.SimpleTable- Renders a table. Substitute for tui::widgets::Table.
And these widgets are unique to this library:
Log- Renders items in a vertical log. This is only a simple abstraction over theTextFragmentswidget to make further abstraction easier.