# Waltzing - Compile-time Template Engine for Rust
> LLM-optimized documentation for the Waltzing template engine.
## What is Waltzing?
Waltzing is a compile-time template engine for Rust inspired by Scala's Twirl.
It transforms .wtz template files into type-safe Rust code during build time.
## Key Features
- Compile-time template compilation to Rust code
- Type-safe templates with full Rust type checking
- HTML auto-escaping by default for security
- Template inheritance and reusable components
- Embedded CSS, JavaScript, and JSON support with template interpolation
- Alpine.js integration with `@```alpine` blocks
- Template comments work in HTML, `
```
### Control Flow in Attributes
```