hemplate
Compile-time HTML templates for Rust.
Applications normally use #[derive(Hemplate)] with a matching .heml file under their package's templates/ directory:
use Hemplate;
let html = Greeting .render?;
A template named templates/greeting.heml could contain:
Hello {+ self.name +}
Escaped interpolation is the default. Raw interpolation uses {+= ... =+} and should receive only trusted HTML. See the repository README for control flow, dynamic attributes, tooling, and examples.
License
MIT