Azure SDK for Rust (May 2025)
The Azure SDK team is pleased to announce our May 2025 client library releases.
12 packages released this month.
Beta Packages (11)
-
Core
-
Core - AMQP
-
Cosmos DB
-
Event Hubs
-
Identity
-
Key Vault - Certificates
-
Key Vault - Keys
-
Key Vault - Secrets
-
TypeSpec Client Core
-
TypeSpec Core
-
TypeSpec Core Macros
Release highlights
Core 0.24.0 Changelog
Features Added
- Added
TaskSpawnerabstraction to spawn asynchronous tasks for different async runtimes. Defaults to optionaltokioruntime.
Breaking Changes
PagerResultalways returns items of typeTinstead ofResponse<T>.
Core - AMQP 0.3.0 Changelog
Other Changes
- Updated dependencies.
- Converted AMQP traits to use
async_traitrather than attempting to implement theasync_traitfunctionality manually. - Restructured and refactored AMQP errors to make them easier to interpret.
Core - AMQP 0.3.1 Changelog
Other Changes
- Added
From<&AmqpValue>converters for fundamental types.
Cosmos DB 0.23.0 Changelog
Breaking Changes
- Query APIs (
CosmosClient::query_databases,DatabaseClient::query_containers,ContainerClient::query_items) now return aFeedPagerinstead of anazure_core::Pager. TheFeedPagertype provides an abstraction over the transport layer, allowing for more flexibility when queries are executed over non-HTTP transports or are decoupled from specific HTTP responses (such as in cross-partition queries). (#2393)
Features Added
- Decoupled query responses from HTTP to allow for handling non-HTTP transports for queries. (#2393)
Event Hubs 0.3.0 Changelog
Features Added
- Added EventHubs token refresh.
- Added retries for failed EventHubs operations.
Breaking Changes
- The
fully_qualified_domainparameter to theopenmethod on theProducerClientandConsumerClientbuilder now takes an&strinstead of aStringto better follow the Azure SDK for Rust API guidelines.
Identity 0.24.0 Changelog
Features Added
AzureDeveloperCliCredentialauthenticates the identity logged in to the Azure Developer CLI.- Added the
AzureDeveloperCliCredentialto theDefaultAzureCredential.
Breaking Changes
- Moved
WorkloadIdentityCredential::newarguments intoWorkloadIdentityCredentialOptionsexcepttoken, which has been removed (the credential now reads service account tokens only from a file). - Removed
ClientAssertionCredential::from_envandClientCertificateCredential::from_env. - Removed
WorkloadIdentityCredential::from_env.::newnow reads the same environment variables except forAZURE_FEDERATED_TOKEN(the Workload Identity webhook doesn’t set that variable).WorkloadIdentityCredentialOptionsoverrides environment variable values.
Key Vault - Certificates 0.2.0 Changelog
Other Changes
- Updated dependencies.
Key Vault - Keys 0.3.0 Changelog
Other Changes
- Updated dependencies.
Key Vault - Secrets 0.3.0 Changelog
Other Changes
- Updated dependencies.
TypeSpec Client Core 0.3.0 Changelog
Breaking Changes
- The
reqwest_rustlsfeature enablesrustls-tls-native-roots-no-providerinstead ofrustls-tls-native-rootsto remove the dependency on theringcrate.
TypeSpec Core 0.4.0 Changelog
Other Changes
- Updated dependencies.
TypeSpec Core Macros 0.3.0 Changelog
Other Changes
- Deriving
SafeDebugformats non-exhaustive types by default. Enabledebugfeature to format normalDebugoutput. - Updated dependencies.
Latest Releases
View all the latest versions of Rust crates here.
Installation Instructions
To install any of our crates, copy and paste the following commands into a terminal:
$> cargo add azure_core@0.24.0
$> cargo add azure_core_amqp@0.3.0
$> cargo add azure_core_amqp@0.3.1
$> cargo add azure_data_cosmos@0.23.0
$> cargo add azure_identity@0.24.0
$> cargo add azure_messaging_eventhubs@0.3.0
$> cargo add azure_security_keyvault_certificates@0.2.0
$> cargo add azure_security_keyvault_keys@0.3.0
$> cargo add azure_security_keyvault_secrets@0.3.0
$> cargo add typespec@0.4.0
$> cargo add typespec_client_core@0.3.0
$> cargo add typespec_macros@0.3.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.