Expand description
§Static file server, from inside the binary
Acts as a bridge between include_dir
and rocket
, enabling you
to serve files directly out of the binary executable.
See StaticFiles
for more details.
Macros§
- include_
dir - Embed the contents of a directory in your crate.
Structs§
- Dir
- A directory.
- Static
Files - Implements a simple bridge between
include_dir
androcket
. A simple reponder based on [rocket::FileServer
], which uses a directory included at compile time.