timpl 0.1.0-alpha.2

A simple, yet powerful, template engine.
Documentation
1
2
3
4
5
6
7
8
9
10
#[path ="../../../examples/html.rs"]
#[allow(dead_code)]
mod example;

#[test]
fn template() {
    let mut out = example::template();
    out.push('\n');
    assert_eq!(out, include_str!("expected.html"));
}