/cargo-docserver

small http documentation server

Primary LanguageRustApache License 2.0Apache-2.0

cargo-docserver - exposes your crate docs in a built-in http server

This is just the result of me fooling around with what would be the minimal HTTP server for this. This is not security-vetted, you've been warned. Use only for development, if you're feeling brave

usage:

cargo docserver -p <port>

sidenote

I've tried really hard to find a simple embeddable rust static file server, and found several, not necessarily fitting the bill here. The closest one was static-server but it loads everything in memory :(

if you happen to stumble into one, let me know! happy to ditch my hacky http server :P