Fast Mustache template engine implementation in pure Rust.
MPL-2.0 License
Bot releases are visible (Hide)
Published by maciejhirsz over 5 years ago
&str
name of the field to Content
methods that need it. This is technically a breaking change, but it shouldn't really affect user code.Content
for HashMap
and BTreeMap
.Published by maciejhirsz over 5 years ago
Context
trait to Content
, which makes way more sense.Template<'static>
that owns it's data from a String
s using Template::new
.Template::from_file
and Template::render_to_file
to the API.Template::new
now returns a Result<Template, Error>
.Published by maciejhirsz over 5 years ago
Encoder
into a trait with direct implementation for String to avoid unsafe
and some overhead.