Skip to content

Delete unused azure_identity::timeout module #2527

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

Merged
merged 1 commit into from
Apr 28, 2025
Merged

Conversation

chlowell
Copy link
Member

Part of #2281. Appears this was added to support special DefaultAzureCredential behavior when requesting tokens from IMDS. That feature's since been removed and I don't expect to restore it.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@chlowell chlowell marked this pull request as ready for review April 28, 2025 20:12
@Copilot Copilot AI review requested due to automatic review settings April 28, 2025 20:12
Copy link
Contributor

@Copilot Copilot AI left a 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 removes the unused azure_identity::timeout module that was previously used for handling custom timeout behavior for DefaultAzureCredential, which has now been deprecated.

  • Removed the entire timeout.rs file.
  • Removed the module declaration from lib.rs.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sdk/identity/azure_identity/src/timeout.rs Complete removal of unused timeout functionality.
sdk/identity/azure_identity/src/lib.rs Removed the outdated "timeout" module reference.

Copy link
Member

@heaths heaths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LarryOsterman this or something like it you might want to consider for the AsyncRuntime you're considering.

@github-project-automation github-project-automation bot moved this from Untriaged to In Progress in Azure Identity SDK Improvements Apr 28, 2025
@chlowell chlowell merged commit 71917a2 into Azure:main Apr 28, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure Identity SDK Improvements Apr 28, 2025
@chlowell chlowell deleted the deadcode branch April 28, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity The azure_identity crate
Projects
Development

Successfully merging this pull request may close these issues.

4 participants