[badges.travis-ci]
repository = "ihrwein/backoff"
[dependencies.async_std_1]
optional = true
package = "async-std"
version = "1.9"
[dependencies.futures-core]
default-features = false
optional = true
version = "0.3.8"
[dependencies.getrandom]
version = "0.2"
[dependencies.instant]
version = "0.1"
[dependencies.pin-project-lite]
optional = true
version = "0.2.7"
[dependencies.rand]
version = "0.8"
[dependencies.tokio_1]
features = ["time"]
optional = true
package = "tokio"
version = "1.0"
[dev-dependencies.async_std_1]
features = ["attributes"]
package = "async-std"
version = "1.6"
[dev-dependencies.futures-executor]
version = "0.3"
[dev-dependencies.reqwest]
features = ["json", "blocking"]
version = "0.11"
[dev-dependencies.tokio_1]
features = ["macros", "time", "rt-multi-thread"]
package = "tokio"
version = "1.0"
[[example]]
name = "async"
required-features = ["tokio"]
[[example]]
name = "permanent_error"
[[example]]
name = "retry"
[features]
async-std = ["futures", "async_std_1"]
default = []
futures = ["futures-core", "pin-project-lite"]
tokio = ["futures", "tokio_1"]
wasm-bindgen = ["instant/wasm-bindgen", "getrandom/js"]
[package]
authors = ["Tibor Benke <ihrwein@gmail.com>"]
categories = ["network-programming"]
description = """
Retry operations with exponential backoff policy.
"""
documentation = "https://docs.rs/backoff"
edition = "2018"
homepage = "https://github.com/ihrwein/backoff"
license = "MIT/Apache-2.0"
name = "backoff"
readme = "README.md"
repository = "https://github.com/ihrwein/backoff"
version = "0.4.0"
[package.metadata.docs.rs]
features = ["tokio"]
rustdoc-args = ["--cfg", "docsrs"]