Rust implementation of the DustJS template engine.
Go to file
Tom Alexander 59ee4f508f
Add a new trait to ContextElement for Truthiness.
Before I was relying on Loopable to both determine truthiness and get a list of elements to loop over. This will no longer work since I need to only set $idx and $len when iterating over actual arrays, as opposed to all truthy values, so I've finally made truthiness explicit.
2020-05-24 16:16:43 -04:00
js Add a single element array test for idx_and_len. 2020-05-24 15:29:14 -04:00
src Add a new trait to ContextElement for Truthiness. 2020-05-24 16:16:43 -04:00
.gitignore Update gitignore for compliance tests 2020-04-12 21:19:28 -04:00
Cargo.toml Add support for supplying multiple templates to the dustjs shim to support testing partials. 2020-04-10 19:07:02 -04:00
Dockerfile Integrate the dustjs official helpers into the test framework. 2020-05-10 13:43:32 -04:00
LICENSE Initial commit 2020-04-05 19:21:32 -04:00
README.md Add support for supplying multiple templates to the dustjs shim to support testing partials. 2020-04-10 19:07:02 -04:00

duster

An implementation of the LinkedIn fork of DustJS written in rust.

NOT RECOMMENDED FOR PUBLIC USE

This code is available free and open source under the 0BSD, but it is a very early-stage project. You're welcome to use it, fork it, print it out and fold it into a hat, etc... but you will find that this project is not yet polished nor feature complete. While this repository uses the 0BSD license which does not require the inclusion of a copyright notice/text in any distribution, it depends on nom which is under the MIT license, the Rust standard library which is dual licensed, serde_json which is dual licensed, and serde which is dual licensed.