Cargo Features
[dependencies]
qiniu-apis = { version = "0.2.4", default-features = false, features = ["async", "reqwest", "isahc", "ureq", "c_ares", "trust_dns", "tokio1", "tokio02", "tokio03", "dns-over-https", "dns-over-https-rustls", "dns-over-tls", "dns-over-rustls", "dns-over-native-tls", "dnssec-openssl", "dnssec-ring", "dnssec", "docs"] }
- default = ureq
-
The
ureq
feature is set by default wheneverqiniu-apis
is added without
somewhere in the dependency tree.default-features = false - async = async-std, futures
-
Enables async of qiniu-http-client
Affects
async_fetch_object::AsyncRequestBuilder
,batch_ops::AsyncRequestBuilder
,copy_object::AsyncRequestBuilder
,create_bucket::AsyncRequestBuilder
,delete_bucket::AsyncRequestBuilder
,delete_bucket_taggings::AsyncRequestBuilder
,put_object::async_part
… - reqwest
-
Enables reqwest of qiniu-http-client
- isahc
-
Enables isahc of qiniu-http-client
- ureq default
-
Enables ureq of qiniu-http-client
- c_ares
-
Enables c_ares of qiniu-http-client
- trust_dns
-
Enables trust_dns of qiniu-http-client
- tokio1
-
Enables tokio1 of qiniu-http-client
- tokio02
-
Enables tokio02 of qiniu-http-client
- tokio03
-
Enables tokio03 of qiniu-http-client
- dns-over-https
-
Enables dns-over-https of qiniu-http-client
- dns-over-https-rustls
-
Enables dns-over-https-rustls of qiniu-http-client
- dns-over-tls
-
Enables dns-over-tls of qiniu-http-client
- dns-over-rustls
-
Enables dns-over-rustls of qiniu-http-client
- dns-over-native-tls
-
Enables dns-over-native-tls of qiniu-http-client
- dnssec-openssl
-
Enables dnssec-openssl of qiniu-http-client
- dnssec-ring
-
Enables dnssec-ring of qiniu-http-client
- dnssec
-
Enables dnssec of qiniu-http-client
- 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.