Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gerdelma opened this issue Jul 26, 2024 · 0 comments
Open

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

gerdelma opened this issue Jul 26, 2024 · 0 comments

Comments

@gerdelma
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant