Skip to content

Conversation

@wojciech-graj
Copy link

@wojciech-graj wojciech-graj commented Oct 3, 2025

The docs.rs documentation is currently not very useful, as it doesn't show anything that is conditionally compiled by enabling non-default features. With this PR all members are always shown, with an optional note next to them indicating if they are feature-gated.

Test this change by generating the docs locally with the following cargo command

RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features

Some of the dependencies' documentation is borked because of rust-lang/rust#43781 which interferes with local documentation builds. I don't know docs.rs handles this; it's possible these dependencies will have to be bumped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant