I'd love an option to only build and document the lib portion of a crate. I use rustdocs a lot in planning things out and sometimes during a refactor I'll break the binaries but still want to see the docs. Cargo supports cargo build --lib for this, seems like cargo doc --lib is a natural flag to support.
I'd love an option to only build and document the lib portion of a crate. I use rustdocs a lot in planning things out and sometimes during a refactor I'll break the binaries but still want to see the docs. Cargo supports
cargo build --libfor this, seems likecargo doc --libis a natural flag to support.