rust-bitcoin / bitcoin_hashes

Simple library which implements a few hashes and does nothing else
Creative Commons Zero v1.0 Universal
66 stars 52 forks source link

Use nightly docs features #151

Closed tcharding closed 2 years ago

tcharding commented 2 years ago

After https://github.com/rust-bitcoin/bitcoin_hashes/pull/150 merges we can use the nightly toolchain and get access to the docrs compiler attribute.

Patch 1 and 2 are cleanup in preparation for patch 3 which adds the experimental docrs cfg attribute of form

#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]

to all non-test code that is feature gated.