-
Notifications
You must be signed in to change notification settings - Fork 313
Release patch semver for core crates #3120
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
Conversation
Fixes Azure#3117 and fixes Azure#3118 by renaming `doc_auto_cfg` and `doc_cfg_hide` to just `doc_cfg` after rust-lang/rust#138907 was merged and released in the new nightly toolchain docs.rs uses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Rust documentation feature flag from doc_auto_cfg
to doc_cfg
following a merge of rust-lang/rust#138907. The change affects multiple core crates in the Azure SDK, requiring patch version bumps to maintain compatibility with the new Rust nightly toolchain used by docs.rs.
Key changes:
- Replace
doc_auto_cfg
withdoc_cfg
feature flag across all affected crates - Bump patch versions for core crates that received the documentation fix
- Update changelog entries to document the bug fix
Reviewed Changes
Copilot reviewed 34 out of 35 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
sdk/typespec/typespec_macros/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/typespec/typespec_client_core/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/typespec/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/storage/azure_storage_blob/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/servicebus/azure_messaging_servicebus/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/keyvault/azure_security_keyvault_secrets/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/keyvault/azure_security_keyvault_keys/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/keyvault/azure_security_keyvault_certificates/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/identity/azure_identity/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/eventhubs/azure_messaging_eventhubs_checkpointstore_blob/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/eventhubs/azure_messaging_eventhubs/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/cosmos/azure_data_cosmos/src/lib.rs | Replace deprecated features with doc_cfg and remove outdated comments |
sdk/core/azure_core_opentelemetry/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/core/azure_core_macros/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/core/azure_core_amqp/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/core/azure_core/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
sdk/canary/azure_canary_core/src/lib.rs | Replace deprecated doc_auto_cfg feature with doc_cfg |
Various Cargo.toml files | Bump patch versions for affected core crates |
Various CHANGELOG.md files | Add changelog entries documenting the documentation fix |
eng/scripts/Analyze-Code.ps1 | Add nightly toolchain support for cargo-docs-rs testing |
eng/pipelines/templates/jobs/analyze.yml | Pass toolchain parameter to analysis script |
Cargo.toml | Update workspace dependency versions to match patch bumps |
Fixes #3117 and fixes #3118 by renaming
doc_auto_cfg
anddoc_cfg_hide
to justdoc_cfg
after rust-lang/rust#138907 was merged and released in the new nightly toolchain docs.rs uses.