docserve

Crates.iodocserve
lib.rsdocserve
version0.1.2
sourcesrc
created_at2023-07-30 16:12:32.43025
updated_at2024-10-05 20:50:20.454627
descriptionNon configurable static web server.
homepage
repositoryhttps://gitlab.com/iosvc/docserve
max_upload_size
id930082
size35,994
Guillaume Xavier Taillon (gxtaillon)

documentation

README

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
Commit count: 6

cargo fmt