Cargo Features
Backoff has no features set by default.
[dependencies]
backoff = { version = "0.4.0", features = ["wasm-bindgen", "futures", "tokio", "async-std"] }
- wasm-bindgen
-
Enables wasm-bindgen of instant and js of getrandom
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
- futures async-std? tokio? = futures-core, pin-project-lite
-
Affects
backoff::future
… - tokio = futures, tokio_1
-
Affects
future::retry
,future::retry_notify
… - async-std = async_std_1, futures
-
Affects
future::retry
,future::retry_notify
…
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.
- async_std_1 async-std?
-
Enables async-std
- futures-core futures?
- pin-project-lite futures?
- tokio_1 tokio?
-
Enables tokio