oxiplate 0.17.0

Compile-time template engine with a focus on escaping, helpful error messages, and whitespace control.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use oxiplate_derive::Oxiplate;

#[derive(Oxiplate)]
#[oxiplate_inline(html: format!("oops"))]
struct Inline;

#[derive(Oxiplate)]
#[oxiplate = format!("oops")]
struct External;

fn main() {
    print!("{}", Inline);
    print!("{}", External);
}