Skip to content

Conversation

@emiltayl
Copy link
Contributor

The doc_auto_cfg and doc_cfg_hide features were recently removed. This commit replaces them with the new doc_cfg feature which should work as an drop-in replacement.

I noticed this because building the docs for one of my crates failed due to doc_auto_cfg in this crate and rand_core. The PR rust-random/rand#1664 contains the fix for the rand_core and rand crates.

The `doc_auto_cfg` and `doc_cfg_hide` features were recently removed. This commit replaces them with the new `doc_cfg` feature which should work as an in-place replacement.
@emiltayl emiltayl changed the title Replace doc_auto_cfg and doc_cfg_hide with doc_cfg. Replace doc_auto_cfg and doc_cfg_hide with doc_cfg Oct 20, 2025
@hoxxep hoxxep merged commit d2ebb56 into hoxxep:master Oct 21, 2025
10 checks passed
@emiltayl emiltayl deleted the patch-1 branch October 21, 2025 14:17
@hoxxep
Copy link
Owner

hoxxep commented Oct 21, 2025

I could swear I wrote a comment when I merged this PR. Either way I wanted to say thank you, and note that it's now deployed. It's a shame that this part of docs.rs is still an unstable feature and breaks overnight!

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.

2 participants