Templating
No Web-App is complete if it doesn't spit out HTML at least some of the time. Managing that, and making sure it renders performant and can be maintained is what templating libraries focus on. Rust has many traditional templating languages, as well as macro-based libraries that enforce type safety! Some of these are listed below.
-
ammonia
HTML Sanitization
-
askama
Type-safe, compiled Jinja-like templates for Rust
-
tera
Template engine based on Jinja2/Django templates
-
handlebars
Handlebars templating implemented in Rust.
-
liquid
The liquid templating language for Rust
-
maud
Compile-time HTML templates.
-
markup
A blazing fast, type-safe template engine for Rust.
-
pulldown-cmark
A pull parser for CommonMark
-
comrak
A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter
-
minijinja
a powerful template engine for Rust with minimal dependencies
Do you know something we don't?
Did we miss an important crate? Or maybe you just recently launched something that should be listed here, too? Let us know!