#documentation #cli #build

app cargo-makedocs

A cargo doc wrapper that only builds the documentation you care about

6 releases

0.2.2 Nov 9, 2018
0.2.1 Nov 4, 2018
0.1.3 Nov 2, 2018

#66 in Cargo plugins

Download history 76/week @ 2018-11-07 33/week @ 2018-11-14 14/week @ 2018-11-21 12/week @ 2018-11-28 49/week @ 2018-12-05 8/week @ 2018-12-12 8/week @ 2018-12-19 30/week @ 2018-12-26 3/week @ 2019-01-02 13/week @ 2019-01-09 12/week @ 2019-01-16

79 downloads per month

MIT license

220 lines

cargo makedocs


cargo install cargo-makedocs


cargo makedocs will parse your current working directory's Cargo.toml and Cargo.lock for dependencies, and only build documentation for the direct dependencies. This saves you from having to type cargo doc --no-deps -p <crate> ....


If you want to exclude one or more crates for being documented, simply pass -e <cratename> as many times as needed. Same goes in reverse for -i, which will document a crate even if it isn't part of your Cargo.toml.

The --open flag will open the documentation in your web browser(passes --open to cargo doc).


cargo-makedocs is available under the MIT license, see LICENSE for more details.


~44K SLoC