> Because Askama will generate Rust code from your template files, the crate will need to be recompiled when your templates change.
Being Swift a compiled language just like Rust, why can we modify the templates (Stencil, Mustache) in Swift without recompiling the app but not in Rust?
Stencil and Mustache do that because they don't compile to Swift, but load and parse templates dynamically. That kind of template language implementation of course exists for Rust as well. (And the other way round, you could have a system that's like this submission for Swift, if there isn't one already)
That's exactly the point, why do that in Rust when it can be done without the need for compiling it? That's the explanation I want to hear. Having to recompile the whole app just to test changes in the template is absurd in my handbook.
I don't see compiling them as a big downside, either. What problems do you see with that?
Tera (https://github.com/Keats/tera) exists already if that's more your cup of tea.