qmx / cargo-docserver

small http documentation server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

small http documentation server

License:Apache License 2.0


Languages

Language:Rust 100.0%