Yarte stands for Yet Another Rust Template Engine, is the fastest template engine. Uses a Handlebars-like syntax, well known and intuitive for most developers. Yarte is an optimized, and easy-to-use rust crate, with which developers can create logic around their HTML templates using conditionals, loops, rust code and template composition.
- Evaluate everything at compile time
- A fancy-text debug mode to visualize the code generated by Yarte
- Emit annotate snippets errors
- Incorporates feature
with-actix-web, an implementation of
actix-web's trait Responder
Is it really the fastest?
See it for yourself in the benchmarks!
In order to fully understand Yarte's capabilities take a look at the following documentation:
- error report
- intellij plugin (help wanted)
- Minify html
- Minify Css
- WASM message oriented framework
Derive for compiled DOM, implement
- yarte/html/css UI like sciter
- ... you can open a issue!
We are not looking for anything other than render HTML and text as fast as possible
Yarte is based on all previous templates engines, syntax as well as its documentation is highly influenced by Handlebars. As many ideas as possible used in Yarte are from other repositories.
Comments in the code clarify which ideas are used, and from where.
Please, contribute to Yarte! The more the better! Feel free to to open an issue and/or contacting directly with the owner for any request or suggestion.