I'm writing a module for templating in a CLI, and I have the default templates baked in my application. My get_or_default returns a bytes::Bytes, and I'd like for it to take advantage of the in-memory cache. Using a slice directly from an Archive's Entry would be optimal.
I'm writing a module for templating in a CLI, and I have the default templates baked in my application. My
get_or_defaultreturns abytes::Bytes, and I'd like for it to take advantage of the in-memory cache. Using a slice directly from anArchive'sEntrywould be optimal.