jazzdotdev / jazzdotdev/jazz

Decouple tera

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
progress/1
Dominant language
Rust
Stars
147
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Torchbear is [tightly coupled](https://github.com/foundpatterns/torchbear/blob/9c413ae4a9f03b654a546b841a2613595b1af60c/src/lib.rs#L58) with Tera, it requires the toml to [have a template path](https://github.com/foundpatterns/torchbear/blob/9c413ae4a9f03b654a546b841a2613595b1af60c/src/lib.rs#L191) and [compiles those at startup](https://github.com/foundpatterns/torchbear/blob/9c413ae4a9f03b654a546b841a2613595b1af60c/src/lib.rs#L205).

Extend the [bindings](torchbear/src/bindings/tera.rs) to create tera instances and let applications manage their own.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.