[package] name = "futures-retry-policies" version = "0.3.1" edition = "2021" authors = ["Conrad Ludgate "] description = "Retryable Futures" repository = "https://github.com/conradludgate/futures-retry-policies" license = "MIT OR Apache-2.0" keywords = ["async", "futures", "retry", "policy", "backoff"] categories = ["network-programming"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["retry-policies", "tokio", "tracing"] #! ## Features ## Enables with the [`retry-policies`](retry_policies) crate retry-policies = ["dep:retry-policies", "chrono"] ## Enables interop with the [`retry`](::retry) crate retry-crate = ["retry"] [dependencies] futures-retry-policies-core = { version = "0.1.0", path = "../core" } ## Provides tokio convenience methods tokio = { version = "1", optional = true, features = ["time"] } # documented above (retry-policies) retry-policies = { version = "0.2", optional = true } chrono = { version = "0.4", optional = true, default-features = false, features = ["std", "clock"] } ## Enables traced retry policies tracing = { version = "0.1", optional = true } # documented above (retry-crate) retry = { version = "2", optional = true } ## Enables interop with the [`futures-retry`](futures_retry) crate futures-retry = { version = "0.6", optional = true } [dev-dependencies] tokio = { version = "1", features = ["full", "test-util"] } retry = "2.0.0" # Properly document all features on docs.rs [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]