https://github.com/dgraham/stache
A Mustache template compiler.
https://github.com/dgraham/stache
compiler mustache translator
Last synced: 4 months ago
JSON representation
A Mustache template compiler.
- Host: GitHub
- URL: https://github.com/dgraham/stache
- Owner: dgraham
- License: mit
- Created: 2016-12-24T16:12:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T02:11:10.000Z (about 5 years ago)
- Last Synced: 2025-07-10T23:41:40.818Z (4 months ago)
- Topics: compiler, mustache, translator
- Language: Rust
- Size: 135 KB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pest - stache - A Mustache template compiler. (Projects)
README
# Stache
A [Mustache] template compiler.
[Mustache]: http://mustache.github.io
## 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:
[erubi]: https://github.com/jeremyevans/erubi
```
$ gem install benchmark-ips erubi
$ cargo test bench -- --ignored --nocapture
```
## License
Stache is released under the MIT license. Check the LICENSE file for details.