oxiplate 0.17.0

Compile-time template engine with a focus on escaping, helpful error messages, and whitespace control.
Documentation
#![no_std]

use oxiplate::{Oxiplate, Render};

#[derive(Oxiplate)]
#[oxiplate = "replace-escaper.html.oxip"]
struct Html {
    name: &'static str,
}

#[test]
fn html() {
    assert_eq!(
        Html { name: r#"foo bar"# }.render().unwrap(),
        r#"
f00 bar
f00 bar
foo b@r
"#
    );
    assert_eq!(
        Html { name: r#"hello"# }.render().unwrap(),
        r#"
hello
hello
hello
"#
    );
}