a2ui 0.1.0

A TUI component library built on top of ratatui
Documentation
1
2
3
4
5
6
7
//! Framework-agnostic component API definition.

/// The framework-agnostic definition of a component: its name and schema.
pub trait ComponentApi: Send + Sync + 'static {
    /// The component name as it appears in A2UI JSON (e.g. "Button", "Text").
    fn name(&self) -> &'static str;
}