dgraham / stache

A Mustache template compiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stache

A Mustache template compiler.

Usage

$ stache -d app/templates/ -o stache.c --emit=ruby
$ stache -d app/templates/ -o stache.c --emit=ruby && clang-format -i -style=webkit stache.c

Development

$ git submodule update --init
$ cargo test
$ cargo build

Benchmark against erubi with:

$ gem install benchmark-ips erubi
$ cargo test bench -- --ignored --nocapture

License

Stache is released under the MIT license. Check the LICENSE file for details.

About

A Mustache template compiler.

License:MIT License


Languages

Language:Rust 100.0%