ShittyKopper [they/them]@lemmy.w.on-t.worktoRust@programming.dev•Anyone have suggestions for a good Rust template engine?English
1·
1 year agoI came here to ask a similar question so I may as well throw it into the comments of this one just to make sure I don’t end up cluttering the community.
In my case though, I have a few extra requirements the existing answers can’t handle:
- It needs to be re-compiled/interpreted at runtime
- It should be able to handle reasonably untrustworthy input (not as in completely untrustworthy, but if someone makes a typo it shouldn’t end up escalating into a security issue)
Perhaps “recompilation” wasn’t the right word to use there.
My goal is to let people customize the templates that will end up building the pages, either from the app itself or through a companion panel app of sorts. This excludes anything that compiles down to native code, so it must be something interpreted at runtime.