3 releases

0.1.2 Oct 5, 2024
0.1.1 Aug 12, 2023
0.1.0 Jul 30, 2023

#170 in HTTP server

Download history 1/week @ 2024-07-06 10/week @ 2024-07-27 13/week @ 2024-09-21 4/week @ 2024-09-28 177/week @ 2024-10-05 14/week @ 2024-10-12 1/week @ 2024-10-19

198 downloads per month

MIT/Apache

11KB

docserve

Non configurable static web server.

What

Serve static html files from the current directory locally on port 3000 with millisecond response times as provided by actix-web.

Why

Other off the shelf one liner web server either did not provide the correct behavior for cargo-doc relative paths, or had unsatisfactory performance.

Typical workflow

cd mycrate
cargo doc
cd target/doc
docserve &
xdg-open http://localhost:3000/mycrate

Dependencies

~15–25MB
~446K SLoC