11 releases (5 breaking)

0.6.0 Feb 17, 2019
0.5.0 Feb 13, 2019
0.4.2 Nov 4, 2018
0.4.1 Oct 28, 2018
0.1.1 Aug 22, 2018

#491 in Template engine

26 downloads per month
Used in 2 crates

MIT/Apache

21KB
517 lines

jens

jens is a Rust templating library, not a templating language

The aim of Jens is to provide extremely lightweight templating, without inventing a new language. This allows you to use the full power of Rust's language features (such as pattern matching and enums) in your template logic.

The main use case for this library is probably code generation, but it could be used anywhere you need multi-line strings in your Rust code.

Dependencies

~2.2–2.9MB
~58K SLoC