Add option to disable --document-private-items for targets that have it by default #8237
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Building a documentation for a Rust project - which at this stage is just a single crate with single binary target - I've discovered that all private items are included. Running
-vv
helped me discover that Cargo has ranrustdoc
with flag--document-private-items
, even though I haven't passed it to cargo. There is no optioncargo doc --no-document-private-items
either.I would like to have such option.
The text was updated successfully, but these errors were encountered: