molt/core/mod.rs
1//! The core engine: the node tree, the renderer and escaping.
2//!
3//! Every type is reachable by two paths — `molt::core::Element` and
4//! `molt::core::element::Element` are the same item — and **both are stable API**. The
5//! short one is what the examples use; the module path is there for the helpers that have
6//! no re-export (`molt::core::escape::escape_text`, `molt::core::tags::is_void`).
7
8pub mod attribute;
9pub mod element;
10pub mod escape;
11pub mod node;
12pub mod render;
13pub mod tags;
14pub mod url_policy;
15
16pub use attribute::Attribute;
17pub use element::Element;
18pub use node::{Markup, Node};
19pub use render::{Render, RenderOptions};