Expand description
serve static dir and file middleware for Salvo web framework.
Read more: https://salvo.rs
Re-exports§
pub use dir::StaticDir;
Modules§
- serve static dir
Structs§
- Static
Embed embed
Handler that serves embed file. StaticFile
is a handler that serves a single file.
Traits§
- Embedded
File Ext embed
Extension trait forEmbeddedFile
.
Functions§
- render_
embedded_ file embed
RenderEmbeddedFile
toResponse
. - static_
embed embed
Create a newStaticEmbed
middleware.