#cargo #serve #docs #source #watch #web-server #docserve

app cargo-serve-docs

Run a webserver to serve your docs locally with cargo docserve. Optionally rebuild docs when source changes

1 unstable release

0.1.1 Aug 16, 2021
0.1.0 Aug 16, 2021

#679 in Cargo plugins

MIT/Apache

13KB
259 lines

NOTE This currently uses the beta compiler so it can use the 2018 edition. I won't push it to crates.io until 2018 stabilizes.

To use this do

$ cargo +beta install --git https://github.com/derekdreery/cargo-docserve

And then from your project somewhere

$ cargo docserve

If you want to install a newer version do (notice the --force):

$ cargo +beta install --force --git https://github.com/derekdreery/cargo-docserve

Dependencies

~13–24MB
~328K SLoC