I found this issue: #211 but it has been closed for the last 5 years without update.
So I wondered whether this is something that's still being considered. I think it makes a lot of sense to support streaming, both for better user experience in for example webserver responses, but most of all as it reduces RAM usage.
To be more precise: with streaming I mean that the renderer can take an iterator as input and loop over all items of the input to generate the template. The output of the renderer is then not a string, but something that implements the Write trait.
minijinja does support streaming for example, but I would prefer not to use minijinja for other reasons.
I found this issue: #211 but it has been closed for the last 5 years without update.
So I wondered whether this is something that's still being considered. I think it makes a lot of sense to support streaming, both for better user experience in for example webserver responses, but most of all as it reduces RAM usage.
To be more precise: with streaming I mean that the renderer can take an iterator as input and loop over all items of the input to generate the template. The output of the renderer is then not a string, but something that implements the
Writetrait.minijinja does support streaming for example, but I would prefer not to use minijinja for other reasons.