#rocket #file-server #static-file #binary #executable #serve #bridge

rocket-include-dir

Bridges include_dir and rocket, enabling Rocket to serve files directly from the binary

2 stable releases

1.1.0 May 6, 2024
1.0.0 May 6, 2024

#1326 in HTTP server

28 downloads per month
Used in ironlog

MIT/Apache

8KB
132 lines

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.


lib.rs:

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.

Dependencies

~15–46MB
~788K SLoC