docs.rs failed to build fetch_azure-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: fetch_azure-0.3.0

Fetch Azure

crate.io docs.rs MSRV CI Coverage License

Adapt a fetch::HttpClient into an Azure SDK HTTP transport.

The Azure SDK abstracts its HTTP transport behind the azure_core::http::HttpClient trait. HttpClient implements it on top of a fetch client, so Azure SDK pipelines run over fetch and benefit from its resilience and observability.

To run the Azure SDK on an anyspawn-backed async runtime, see the anyspawn_azure crate.

Example

use azure_core::http::{ClientOptions, Transport};
use fetch_azure::HttpClient;

// Wire a `fetch` client in as the transport for an Azure SDK client.
let transport = Transport::new(HttpClient::from(client).into());
let options = ClientOptions {
    transport: Some(transport),
    ..Default::default()
};