Cargo Features

[dependencies]
adventure = { version = "0.5.0", default-features = false, features = ["std", "alloc", "futures01", "tokio-timer", "backoff-tokio", "reqwest"] }
default = backoff-tokio, futures01, std

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

std default futures01 = alloc

Enables std of futures

alloc std

Enables alloc of futures

futures01 default = futures_01, std

Enables compat of futures

tokio-timer backoff-tokio

Enables time of tokio ^0.2.6

Affects retry::tokio, retry::RetryingTokio, retry::RetriableRequest.retry, retry::RetriableRequest.retry_with_backoff, request::Request.retry_if

backoff-tokio default = backoff, tokio-timer

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.

reqwest implicit feature

Enables reqwest ^0.10.0

reqwest:

higher level HTTP client library

backoff backoff-tokio

Enables backoff ^0.1.5

Affects adventure::retry, request::Request.retry_with_config, request::Request.retry_if

futures_01 futures01

Enables futures ^0.1

tokio tokio-timer?

Enables tokio ^0.2.6