htui 0.2.0

A terminal HTML/CSS renderer with an embedded JavaScript engine — build interactive TUIs from HTML, CSS and JS
pub mod config;
pub mod events;
pub mod graphics;
pub mod html;
pub mod layout;
pub mod resources;
pub mod script;
pub mod session;
pub mod source;
pub mod tdom;
pub mod tui;

/// The Boa engine, re-exported so code generated by `htui_macros` can reach it
/// through `::htui::boa_engine` without the user depending on Boa directly.
pub use boa_engine;
/// `#[htui::command]` — wrap a Rust function as a host binding.
pub use htui_macros::command;
/// `#[htui::commands]` — auto-register every binding declared in a module.
pub use htui_macros::commands;
/// `#[derive(IntoJs)]` / `#[derive(FromJs)]` — struct ↔ JS object.
pub use htui_macros::{FromJs, IntoJs};

pub use config::Config;
pub use html::html_parse::Parser;
pub use layout::layout::TermMap;
pub use session::Session;
pub use source::{CssSource, HtmlSource, JsSource, SharedSourceText};