Cargo Features

[dependencies]
uclient = { version = "0.2.3", default-features = false, features = ["multipart", "blocking", "async_reqwest", "async_reqwest_rustls", "blocking_reqwest", "blocking_reqwest_rustls", "async_surf", "async_surf_rustls"] }
default = multipart

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

multipart default = concat-reader, hyper, mime, mime_guess, mime_multipart

Affects uclient::form

blocking blocking_reqwest? blocking_reqwest_rustls?

Enables is_sync of maybe-async

async_reqwest = bytes, futures

Enables default-tls of reqwest ^0.11

reqwest:

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

Affects uclient::reqwest

async_reqwest_rustls = bytes, futures

Enables rustls-tls of reqwest ^0.11

Affects uclient::reqwest

blocking_reqwest = blocking

Enables blocking and default-tls of reqwest ^0.11

Affects uclient::reqwest

blocking_reqwest_rustls = blocking

Enables blocking and rustls-tls of reqwest ^0.11

Affects uclient::reqwest

async_surf = futures

Enables surf

Affects uclient::surf

async_surf_rustls = futures

Enables encoding and h1-client-rustls of surf

Affects uclient::surf

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.

concat-reader multipart
hyper multipart

Enables hyper ^0.10

mime multipart

Enables mime ^0.2

mime_guess multipart

Enables mime_guess ^1

mime_multipart multipart
bytes async_reqwest? async_reqwest_rustls?
surf async_surf? async_surf_rustls?
futures async_reqwest? async_reqwest_rustls? async_surf? async_surf_rustls?
reqwest async_reqwest? async_reqwest_rustls? blocking_reqwest? blocking_reqwest_rustls?

Enables reqwest ^0.11