Crate rust_embed_for_web

source ·
Expand description

Rust Macro which embeds files into your executable. A fork of rust-embed with a focus on usage in web servers.

Please check out the readme in the repository to get started. There’s an example available too!

If you are using this with Actix Web, there’s an existing responder actix-web-rust-embed-responder which will handle everything for you, from negotiating compressed responses to cache revalidation.



Derive Macros§

  • A folder that is embedded into your program.