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.
-
handlebars-iron
Handlebars templating middleware for Iron.
-
sailfish
Simple, small, and extremely fast template engine for Rust
-
horrorshow
a templating library written in rust macros
-
liquid
The liquid templating language for Rust
-
yarte
Type-safe, compiled Handlebars
-
maud
Compile-time HTML templates.
-
markup
A blazing fast, type-safe template engine for Rust.
-
pulldown-cmark
A pull parser for CommonMark
-
ramhorns
Experimental Mustache-like templating engine.
-
ructe
Rust Compiled Templates, efficient type-safe web page templates.
-
axohtml
Type checked JSX for Rust
-
comrak
A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter
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!