# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.0" name = "ease-off" version = "0.1.6" authors = ["Austin Bonander "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An easy, opinionated exponential backoff implementation." readme = "README.md" keywords = [ "backoff", "exponential", "retry", ] license = "MIT OR Apache-2.0" repository = "https://github.com/transact-rs/ease-off" [package.metadata.docs.rs] all-features = true [lib] name = "ease_off" path = "src/lib.rs" [[example]] name = "async-std" path = "examples/async-std.rs" required-features = ["async-io-2"] [[example]] name = "blocking" path = "examples/blocking.rs" [[example]] name = "tokio" path = "examples/tokio.rs" required-features = ["tokio"] [[example]] name = "tokio-concurrent" path = "examples/tokio-concurrent.rs" required-features = ["tokio"] [dependencies.async-io-2] version = "2" optional = true package = "async-io" [dependencies.pin-project] version = "1" optional = true [dependencies.rand] version = "0.8.5" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.0.1" features = [ "rt", "time", ] optional = true [dev-dependencies.async-std] version = "1.13.0" features = ["attributes"] [dev-dependencies.futures] version = "0.3.30" [dev-dependencies.tokio] version = "1.39.3" features = [ "rt", "time", "macros", ] [dev-dependencies.tokio-util] version = "0.7.12" features = ["time"] [features] async-io-2 = [ "dep:async-io-2", "futures", ] futures = ["pin-project"] tokio = [ "dep:tokio", "futures", ]