6 releases
Uses old Rust 2015
0.3.0 | Mar 14, 2020 |
---|---|
0.2.1 | Mar 14, 2020 |
0.2.0 | Dec 30, 2019 |
0.1.2 | Apr 17, 2019 |
0.1.1 | Jul 25, 2018 |
#7 in #starts
25KB
197 lines
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
Dependencies
~11MB
~209K SLoC