No description
* Add support for Option<T> attributes Introduces the `attr=[value]` syntax that assumes `value` is an `Option<T>`. Renders `attr="value"` for `Some(value)` and entirely omits the attribute for `None`. Implements and therefore closes #283. * Call `Generator::splice` directly * Handle struct literals (edge case) Co-authored-by: Chris Wong <xbuns@google.com> |
||
---|---|---|
.github/workflows | ||
docs | ||
doctest | ||
maud | ||
maud_htmlescape | ||
maud_macros | ||
.editorconfig | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
maud.png | ||
README.md | ||
RELEASE_PROCESS.md | ||
rustfmt.toml |
maud
Documentation (source) • API reference • Change 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.
For more info on Maud, see the official book.