Rust implementation of the DustJS template engine.
Go to file
Tom Alexander f9dea70d23
Implement conversion from IceResult into BreadcrumbTreeNode.
I believe this change will remove an extra heap allocation I was doing in the new_breadcrumbs_* functions for the explicit context by adding support for converting from Rc<dyn ContextElement> to Rc<dyn IntoContextElement> without copying the underlying data. This should allow conversion of the IceResult::Owned variant to the BreadcrumbTreeElement::Owned variant without extra copying.
2020-06-06 19:39:44 -04:00
js Put IntoContextElement everywhere. It compiles again. 2020-05-30 17:50:27 -04:00
src Implement conversion from IceResult into BreadcrumbTreeNode. 2020-06-06 19:39:44 -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.