Azure SDK for Rust (May 2025)
The Azure SDK team is pleased to announce our May 2025 client library releases.
10 packages released this month.
Beta Packages (10)
-
Core
-
Core - AMQP
-
Cosmos DB
-
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
TaskSpawner
abstraction to spawn asynchronous tasks for different async runtimes. Defaults to optionaltokio
runtime.
Breaking Changes
PagerResult
always returns items of typeT
instead ofResponse<T>
.
Core - AMQP 0.3.0 Changelog
Other Changes
- Updated dependencies.
- Converted AMQP traits to use
async_trait
rather than attempting to implement theasync_trait
functionality manually. - Restructured and refactored AMQP errors to make them easier to interpret.
Cosmos DB 0.23.0 Changelog
Breaking Changes
- Query APIs (
CosmosClient::query_databases
,DatabaseClient::query_containers
,ContainerClient::query_items
) now return aFeedPager
instead of anazure_core::Pager
. TheFeedPager
type 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)
Identity 0.24.0 Changelog
Features Added
AzureDeveloperCliCredential
authenticates the identity logged in to the Azure Developer CLI.- Added the
AzureDeveloperCliCredential
to theDefaultAzureCredential
.
Breaking Changes
- Moved
WorkloadIdentityCredential::new
arguments intoWorkloadIdentityCredentialOptions
excepttoken
, which has been removed (the credential now reads service account tokens only from a file). - Removed
ClientAssertionCredential::from_env
andClientCertificateCredential::from_env
. - Removed
WorkloadIdentityCredential::from_env
.::new
now reads the same environment variables except forAZURE_FEDERATED_TOKEN
(the Workload Identity webhook doesn’t set that variable).WorkloadIdentityCredentialOptions
overrides 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_rustls
feature enablesrustls-tls-native-roots-no-provider
instead ofrustls-tls-native-roots
to remove the dependency on thering
crate.
TypeSpec Core 0.4.0 Changelog
Other Changes
- Updated dependencies.
TypeSpec Core Macros 0.3.0 Changelog
Other Changes
- Deriving
SafeDebug
formats non-exhaustive types by default. Enabledebug
feature to format normalDebug
output. - 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_data_cosmos@0.23.0
$> cargo add azure_identity@0.24.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.