Waltzing

Compile-time template engine for Rust

Transform .wtz template files into type-safe Rust code. Inspired by Scala's Twirl.

Features

Type-Safe

Templates compile to Rust code at build time. Type errors are caught by the compiler.

Fast

Zero runtime parsing. Templates compile to efficient Rust code.

Secure

HTML auto-escaping by default.

Composable

Template inheritance, components, and function tags.

Quick Start

Install

curl -fsSL https://waltzing.awesomike.com/install | bash