Skip to content

Delete unused azure_identity::timeout module - #2527

Merged
Charles Lowell (chlowell) merged 1 commit into
Azure:mainfrom
chlowell:deadcode
Apr 28, 2025
Merged

Charles Lowell (chlowell) merged 1 commit into
Azure:mainfrom
chlowell:deadcode

Conversation

@chlowell

Copy link
Copy Markdown
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
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@chlowell
Charles Lowell (chlowell) marked this pull request as ready for review April 28, 2025 20:12
Copilot AI review requested due to automatic review settings April 28, 2025 20:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

@heaths Heath Stewart (heaths) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Larry Osterman (@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
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.

5 participants