yo-html 0.1.1

JSX-like macro similar to what you can find in React or Yew but without framework nor trait.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[allow(dead_code)]
#[test]
fn tests_pass() {
    let t = trybuild::TestCases::new();
    t.pass("tests/simple_web_framework/*-pass.rs");
}

#[allow(dead_code)]
#[rustversion::attr(stable(1.75), test)]
fn tests_fail() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/simple_web_framework/*-fail.rs");
}