Mustache
Inspired by ctemplate and et, Mustache is a framework-agnostic way to render logic-free views.
As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language."
rust-mustache is a rust implementation of Mustache.
Documentation
The different Mustache tags are documented at mustache(5).
Documentation for this library is here.
Install
Install it through Cargo!
[]
= "*"
Basic example
extern crate serde_derive;
extern crate mustache;
use io;
use MapBuilder;
Testing
Simply clone and run:
# If you want to run the test cases, you'll need the spec as well.
# If you want to test the readme example, we're currently using the unstable feature to do so.
License
See LICENSE File