#16 in #latex
13 downloads per month
These crates creates rusty templates that are evaluated at
compile-time (much like askama).
DisplayAs is explicitly designed to support multiple output formats
(thus the "as" in its name).
Given there are numerous existing template engines, you might ask what
display-as-template from these other engines?
diplay-as-templatesupports (almost) arbitrary rust code in the template, unlike askama or ructe. In the case of askama, there is a conscious decision not to support this. I believe that it is nicer and easier not to learn a new language for the expressiosn within templates.