1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
#![warn(missing_docs, clippy::unwrap_used)] #![doc = include_str!("../README.md")] /// Custom error type. pub mod error; /// Event/input handling. pub mod event; /// Web utility functions. pub mod utils; /// Widgets. pub mod widgets; /// Backend. pub mod backend; /// Rendering. mod render; // Re-export ratatui crate. pub use ratatui; // Re-export web_sys crate. pub use web_sys; pub use backend::{ canvas::CanvasBackend, cell_sized::CellSized, cursor::CursorShape, dom::DomBackend, webgl2::{FontAtlasConfig, SelectionMode, WebGl2Backend}, }; pub use render::{WebEventHandler, WebRenderer};