Re-exporting type and rustdoc


I'm re-exporting some types from a crate I use:

pub use picky::{hash::HashAlgorithm, key::PrivateKey, x509::name::DirectoryName, x509::Csr};

What's bothering me is rustdoc documenting them as being part of my own crate.

I think I saw a "Re-exported" category in some docs, how to get this section for these type?


Use #[doc(no_inline)] on the pub use line:

pub use bar::Bar;

For details, see:

1 Like