Cargo Features

[dependencies]
qiniu-reqwest = { version = "0.2.4", default-features = false, features = ["async", "gzip", "brotli", "deflate", "default-tls", "native-tls", "rustls-tls", "trust-dns", "docs"] }
default = brotli, default-tls, deflate, gzip

These default features are set whenever qiniu-reqwest is added without default-features = false somewhere in the dependency tree.

async = bytes, futures

Enables async of qiniu-http

gzip default

Enables gzip of reqwest ^0.11.20

brotli default

Enables brotli of reqwest ^0.11.20

deflate default

Enables deflate of reqwest ^0.11.20

default-tls default

Enables default-tls of reqwest ^0.11.20

reqwest:

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

native-tls

Enables native-tls of reqwest ^0.11.20

reqwest:

Enables native-tls specific functionality not available by default.

rustls-tls

Enables rustls-tls of reqwest ^0.11.20

trust-dns

Enables trust-dns of reqwest ^0.11.20

reqwest:

Deprecated, remove this feature while bumping minor versions.

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.

bytes async?
futures async?