/maud

:pencil: Compile-time HTML templates for Rust

Primary LanguageRustApache License 2.0Apache-2.0

HTML5 rocks. maud Build Status Cargo

Documentation (source) • API referenceChange log

Maud is an HTML template engine for Rust. It's implemented as a macro, html!, which compiles your markup to specialized Rust code. This unique approach makes Maud templates blazing fast, super type-safe, and easy to deploy.

Note that Maud depends on the unstable procedural macro API, and so requires the nightly version of Rust.

For more info on Maud, see the official book.

Stability

As of version 0.11, I am satisfied with the core syntax and semantics of the library. Development at this stage is focused on adding features and fixing bugs.

The underlying procedural macro API is still unstable though, so updating your compiler may break things. Please file an issue when this happens!