Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable features when building for docs.rs #2110

Closed
alex opened this issue Aug 28, 2023 · 1 comment · Fixed by #2111
Closed

Enable features when building for docs.rs #2110

alex opened this issue Aug 28, 2023 · 1 comment · Fixed by #2111

Comments

@alex
Copy link

alex commented Aug 28, 2023

https://docs.rs/about/builds#cross-compiling

The latest release moves everything behind features (cool!). Unfortunately, a side-effect is that the docs on docs.rs are kind of useless (sad :-()).

You can use the metadata from the link above to enable all the optional features for that build, which will make the docs useful again (yay!).

asomers added a commit to asomers/nix that referenced this issue Aug 28, 2023
@asomers
Copy link
Member

asomers commented Aug 28, 2023

Oops, thanks for pointing that out. Care to review the linked PR? I'll publish a patch release after that just to get the docs rebuilt. Oh, and BTW Nix adopted fine-grained feature flags back in 0.24.0. What changed in 0.27.0 is the default setting: now no features are enabled by default.

github-merge-queue bot pushed a commit that referenced this issue Aug 28, 2023
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 a pull request may close this issue.

2 participants