Cargo Features

[dependencies]
qiniu-http-client = { version = "0.2.4", default-features = false, features = ["c_ares", "trust_dns", "dns-over-https", "dns-over-https-rustls", "dns-over-tls", "dns-over-rustls", "dns-over-native-tls", "dnssec-openssl", "dnssec-ring", "dnssec", "reqwest", "isahc", "ureq", "async", "tokio1", "tokio02", "tokio03", "docs"] }
default = ureq

The ureq feature is set by default whenever qiniu-http-client is added without default-features = false somewhere in the dependency tree.

c_ares = c-ares, c-ares-resolver
trust_dns dns-over-https? dns-over-https-rustls? dns-over-native-tls? dns-over-rustls? dns-over-tls? dnssec? dnssec-openssl? dnssec-ring? = async-std-resolver, trust-dns-resolver

Enables trust-dns of optional qiniu-reqwest

dns-over-https = trust_dns

Enables dns-over-https of trust-dns-resolver ^0.22.0

dns-over-https-rustls = trust_dns

Enables dns-over-https-rustls of trust-dns-resolver ^0.22.0

trust-dns-resolver:

This requires some TLS library, currently only rustls is supported

dns-over-tls = trust_dns

Enables dns-over-tls of trust-dns-resolver ^0.22.0

dns-over-rustls = trust_dns

Enables dns-over-rustls of trust-dns-resolver ^0.22.0

dns-over-native-tls = trust_dns

Enables dns-over-native-tls of trust-dns-resolver ^0.22.0

dnssec-openssl = trust_dns

Enables dnssec-openssl of trust-dns-resolver ^0.22.0

dnssec-ring = trust_dns

Enables dnssec-ring of trust-dns-resolver ^0.22.0

dnssec = trust_dns

Enables dnssec of trust-dns-resolver ^0.22.0

reqwest = qiniu-reqwest
isahc = qiniu-isahc
ureq default = qiniu-ureq
async tokio02? tokio03? tokio1? = async-once-cell, async-std, futures, futures-timer

Enables std-async of fs4 ^0.6.1, async of qiniu-credential, qiniu-http, qiniu-upload-token, optional qiniu-isahc, optional qiniu-reqwest, and optional qiniu-ureq

Affects authorization::AuthorizationProvider.async_sign, chooser::Chooser.async_choose, chooser::Chooser.async_feedback, builder::AsyncRequestBuilder, resolver::Resolver.async_resolve, response::AsyncResponse, endpoints_provider::EndpointsProvider.async_get_endpoints, regions_provider::RegionsProvider.async_get, regions_provider::RegionsProvider.async_get_all

tokio1 = async

Enables tokio1 of async-std

tokio02 = async

Enables tokio02 of async-std

tokio03 = async

Enables tokio03 of async-std

docs

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.

c-ares c_ares?

Enables c-ares ^7.7.0

c-ares-resolver c_ares?

Enables c-ares-resolver ^7.5.0

futures async?
futures-timer async?
async-std async? tokio02? tokio03? tokio1?
trust-dns-resolver dns-over-https? dns-over-https-rustls? dns-over-native-tls? dns-over-rustls? dns-over-tls? dnssec? dnssec-openssl? dnssec-ring? trust_dns?

Enables trust-dns-resolver ^0.22.0

async-std-resolver trust_dns?

Enables async-std-resolver ^0.22.0

async-once-cell async?

Enables async-once-cell ^0.3.1

qiniu-reqwest reqwest?
qiniu-isahc isahc?
qiniu-ureq ureq