Skip to main content

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(crate) mod digest;
10pub mod element;
11pub mod escape;
12pub mod node;
13pub mod render;
14pub mod tags;
15pub mod url_policy;
16
17pub use attribute::Attribute;
18pub use element::Element;
19pub use node::{Markup, Node};
20pub use render::{Render, RenderOptions};