tectonic-typesetting / tectonic

A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.
https://tectonic-typesetting.github.io/
Other
3.99k stars 162 forks source link

Add the possibility to serve assets via map<String, vec<u8>> #1205

Open gerdelma opened 4 months ago

gerdelma commented 4 months ago

Currently it seems like it is only possible to serve asset files via file system or via HTTP.

While this is totally fine for a cli application, I have been wondering, if this would not be a nice addon for the rust crate. Since temporary file handling within a single application feels a bit clunky to me.

Would it be possible to add an option to serve assets in memory for example via map<String, vec>?

Many thanks in advance.