Probably should use the new `#![cfg_attr(docsrs, feature(doc_cfg)]`. Also add the following to `Cargo.toml`: ```toml [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] ```