Installation

QTML is a compiled template language for Rust. Your .qtml files are read at compile time and turned into Rust code that produces server-rendered HTML. That means a Rust toolchain is the only runtime prerequisite.

Install Rust first, then add the QTML macro crate to your application. The editor setup is optional, but recommended.

  • Rust covers the toolchain, macro crate, and language server.
  • Zed covers the QTML extension.