3 releases (breaking)
Uses new Rust 2024
| 0.3.0 | Apr 10, 2026 |
|---|---|
| 0.2.0 | Apr 9, 2026 |
| 0.1.0 | Apr 7, 2026 |
#827 in Concurrency
74KB
1.5K
SLoC
gusto
lightweight ratatui framework
Quick start
fn main() {
let mut app = AppBuilder::new(Box::new(TestComponent)).build();
app.run();
}
struct TestComponent;
impl Component<E, M> for TestComponent {
fn on(&mut self, event: &IEvent<E>, ctx: &mut EventCtx<M>) -> Result<()> { todo!() }
fn render(&mut self, frame: &mut Frame, rect: Rect) -> Result<()> { todo!() }
}
#[derive(Clone)]
struct M;
#[derive(Clone)]
struct E;
Examples
Dependencies
~7.5MB
~125K SLoC