jam1garner / binrw

A Rust crate for helping parse and rebuild binary data using ✨macro magic✨.
https://binrw.rs
MIT License
585 stars 35 forks source link

Add required-feature badges to documentation #145

Closed csnover closed 1 year ago

csnover commented 2 years ago

Stick that #[cfg_attr(doc_cfg, doc(cfg(feature = "cool_stuff")))] thing wherever it needs to go, I guess.

csnover commented 1 year ago

I guess this is resolved by 058fcbd90d700d69c7bc9dad0158e75a78a5133c.