Skip to content

tailhook/trimmer

Repository files navigation

Trimmer

Reference | API Docs | Github | Crate

Yet another template engine for Rust. Features:

  • Can produce better indented text than most template engines
  • Can traverse Rust types without cloning them too much
  • Can produce safe output by validating variable values
  • Autoescaping is supported too, and decared in the template itself

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.