add crate attributes for `rustdoc`