Cargo Features

[dependencies]
azure_base = { version = "0.1.0", default-features = false, features = ["enable_reqwest", "enable_reqwest_rustls", "enable_hyper", "azurite_workaround", "mock_transport_framework", "test_e2e"] }
default = enable_reqwest

The enable_reqwest feature is set by default whenever azure_base is added without default-features = false somewhere in the dependency tree.

enable_reqwest default

Enables native-tls of oauth2 and default-tls of reqwest ^0.11

reqwest:

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

Affects http_client::new_http_client

enable_reqwest_rustls

Enables rustls-tls of oauth2 and reqwest ^0.11

Affects http_client::new_http_client

enable_hyper = hyper, hyper-rustls

Affects errors::extract_status_headers_and_body, errors::extract_status_and_body, errors::extract_location_status_and_body, errors::check_status_extract_body, errors::check_status_extract_body_2, utilities::perform_http_request, http_client::new_http_client

azurite_workaround

Affects utilities::delete_type_permanent_from_headers, parsing::from_azure_time

mock_transport_framework

Affects azure_base::mock

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.

hyper enable_hyper?

Enables hyper ^0.14

hyper-rustls enable_hyper?

Enables hyper-rustls ^0.23

reqwest enable_reqwest enable_reqwest_rustls?

Enables reqwest ^0.11