Crate rocket_include_dir

source ·
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§

  • Embed the contents of a directory in your crate.

Structs§

  • A directory.
  • Implements a simple bridge between include_dir and rocket. A simple reponder based on [rocket::FileServer], which uses a directory included at compile time.