I have a crate that depends on
libc. I don’t like that rustdoc output includes full documentation for all of libc. The HTML for libc constants alone is many times larger than documentation for my own crate.
#[doc(hidden)] extern crate libc;
cargo doc still documents libc. Should
#[doc(hidden)] work for excluding crates?