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.
Structs§
- Dynamic
File - A file read from the file system dynamically.
- Embedded
File - A file embedded into the binary.
Traits§
- Embedable
File - An embedable file.
- Rust
Embed - A folder of embedded files.
Derive Macros§
- Rust
Embed - A folder that is embedded into your program.