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
somewhere in the dependency tree.default-features = false - 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.