-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
Serve files from embedded resources (rust-embed) #486
Comments
I was looking for something similar and couldn't find anything, so I wrote a macro to do it. You can find it here: static_dir. |
Could you clarify what you mean by embedded resources? Do you mean like things compiled in, like using |
yeah exactly! You know in C++ you can add files with |
If you have the resource available as a warp/examples/websockets_chat.rs Line 43 in 2587c59
|
Oh it's a good idea |
Hi,
I'm looking for serve files that are store as embedded resources, the goal is to have a small WebUI compiled into the binary and serve it easily!
Do you have a good way to do that with warp? maybe you could propose this kind of feature.
Kind regards
The text was updated successfully, but these errors were encountered: