Cargo Features

azure_core has no features set by default.

[dependencies]
azure_core = { version = "0.21.0", features = ["enable_reqwest", "enable_reqwest_gzip", "enable_reqwest_rustls", "hmac_rust", "hmac_openssl", "azurite_workaround", "xml", "tokio-fs", "tokio-sleep", "test_e2e"] }
enable_reqwest

Enables default-tls of reqwest

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

enable_reqwest_gzip

Enables gzip of reqwest

enable_reqwest_rustls

Enables rustls-tls of reqwest

hmac_rust

Enables hmac and sha2

Affects hmac::hmac_sha256

hmac_openssl

Enables openssl

Affects hmac::hmac_sha256

azurite_workaround

Affects utilities::delete_type_permanent_from_headers, parsing::from_azure_time

xml = quick-xml

Affects azure_core::xml

tokio-fs

Enables fs, io-util and sync of tokio

Affects tokio::fs

tokio-sleep = tokio
test_e2e

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

reqwest enable_reqwest? enable_reqwest_gzip? enable_reqwest_rustls?
quick-xml xml?

Enables quick-xml ^0.31

tokio tokio-fs? tokio-sleep?