Cargo Features

[dependencies]
retry-backoff = { version = "0.1.0", default-features = false, features = ["std", "alloc", "all_backoffs", "impl_exponential_backoff", "impl_backoff_rs"] }
default = all_backoffs, std

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

std default impl_backoff_rs? impl_exponential_backoff? = alloc
alloc std
all_backoffs default = impl_backoff_rs, impl_exponential_backoff

backoffs

impl_exponential_backoff all_backoffs = exponential-backoff, std

Affects backoffs::impl_exponential_backoff

impl_backoff_rs all_backoffs = backoff-rs, std

Affects backoffs::impl_backoff_rs

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.

exponential-backoff impl_exponential_backoff?

Enables exponential-backoff ^1.1

backoff-rs impl_backoff_rs?