[dependencies.anyhow]
version = "1.0.0"
[dependencies.async-trait]
version = "0.1.51"
[dependencies.futures]
version = "0.3.0"
[dependencies.http]
version = "1.0"
[dependencies.reqwest]
default-features = false
version = "0.12.0"
[dependencies.reqwest-middleware]
version = ">0.3.0, <0.5.0"
[dependencies.retry-policies]
version = "0.4"
[dependencies.thiserror]
version = "1.0.61"
[dependencies.tracing]
optional = true
version = "0.1.26"
[dev-dependencies.futures]
version = "0.3.0"
[dev-dependencies.paste]
version = "1.0.0"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0.0"
[dev-dependencies.wiremock]
version = "0.6.0"
[features]
default = ["tracing"]
tracing = ["dep:tracing"]
[lib]
name = "reqwest_retry"
path = "src/lib.rs"
[package]
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-client"]
description = "Retry middleware for reqwest."
edition = "2018"
keywords = ["reqwest", "http", "middleware", "retry"]
license = "MIT OR Apache-2.0"
name = "reqwest-retry"
readme = "README.md"
repository = "https://github.com/TrueLayer/reqwest-middleware"
version = "0.7.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
default-features = false
features = ["time"]
version = "1.6.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["js"]
version = "0.2.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.parking_lot]
features = ["wasm-bindgen"]
version = "0.11.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-timer]
version = "0.2.5"
[[test]]
name = "all"
path = "tests/all/main.rs"