//! Small immediate-mode terminal UI library. //! //! The default crate surface re-exports the core rendering primitives from //! `rustik_tui_core`: buffers, styled text, layout, app/runtime traits, terminal //! backends, and small layout widgets. Enable the `widgets` feature to also //! re-export the higher-level widgets from `rustik_tui_widgets`. //! #![deny(unsafe_code)] #![warn(missing_docs)] #![warn(clippy::unwrap_used)] pub use rustik_tui_core::*; /// Higher-level widgets re-exported when the `widgets` feature is enabled. #[cfg(feature = "widgets")] pub mod widgets { pub use rustik_tui_widgets::*; } #[cfg(feature = "widgets")] pub use rustik_tui_widgets::*; #[cfg(test)] mod tests { #[test] fn facade_reexports_core_primitives() { let _ = crate::Buffer::empty(crate::Rect::new(0, 0, 1, 1)); } #[cfg(feature = "widgets")] #[test] fn widgets_feature_reexports_widget_types() { let _ = crate::List::new([crate::Line::new("row")]); let _ = crate::Viewport::new(); } }