I am creating a zip archive dynamically using the superb zip crate and then streaming that archive to stdout.
The relevant snippet is:
It seemed odd to me to have to persist something to disk when the program generates the data and archive in memory.
Are there better ways to accomplish this?
Or what I am missing about the traits that
ZipWriter implements that could help here?