2021-08-10 16:07:08 +00:00
|
|
|
[package]
|
|
|
|
name = "reqwest-retry"
|
2024-10-16 19:20:48 +00:00
|
|
|
version = "0.7.1"
|
2021-08-10 16:07:08 +00:00
|
|
|
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
description = "Retry middleware for reqwest."
|
|
|
|
repository = "https://github.com/TrueLayer/reqwest-middleware"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
keywords = ["reqwest", "http", "middleware", "retry"]
|
|
|
|
categories = ["web-programming::http-client"]
|
|
|
|
|
2024-07-24 13:53:52 +00:00
|
|
|
[features]
|
|
|
|
default = ["tracing"]
|
|
|
|
tracing = ["dep:tracing"]
|
|
|
|
|
2021-08-10 16:07:08 +00:00
|
|
|
[dependencies]
|
2024-04-03 17:13:10 +00:00
|
|
|
reqwest-middleware = { version = "0.3.0", path = "../reqwest-middleware" }
|
2021-08-10 16:07:08 +00:00
|
|
|
|
2023-05-11 13:17:05 +00:00
|
|
|
anyhow = "1.0.0"
|
2021-08-10 16:07:08 +00:00
|
|
|
async-trait = "0.1.51"
|
2023-05-11 13:17:05 +00:00
|
|
|
futures = "0.3.0"
|
2024-04-03 17:13:10 +00:00
|
|
|
http = "1.0"
|
|
|
|
reqwest = { version = "0.12.0", default-features = false }
|
2024-06-01 01:02:26 +00:00
|
|
|
retry-policies = "0.4"
|
2024-10-16 19:20:48 +00:00
|
|
|
thiserror = "1.0.61"
|
2024-07-24 13:53:52 +00:00
|
|
|
tracing = { version = "0.1.26", optional = true }
|
2021-08-10 16:07:08 +00:00
|
|
|
|
2023-03-09 11:33:13 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2024-04-03 17:13:10 +00:00
|
|
|
hyper = "1.0"
|
2024-07-24 13:53:52 +00:00
|
|
|
tokio = { version = "1.6.0", default-features = false, features = ["time"] }
|
2023-03-09 11:33:13 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
parking_lot = { version = "0.11.2", features = ["wasm-bindgen"] } # work around https://github.com/tomaka/wasm-timer/issues/14
|
|
|
|
wasm-timer = "0.2.5"
|
2023-05-11 13:17:05 +00:00
|
|
|
getrandom = { version = "0.2.0", features = ["js"] }
|
2023-03-09 11:33:13 +00:00
|
|
|
|
2021-08-10 16:07:08 +00:00
|
|
|
[dev-dependencies]
|
2023-05-11 13:17:05 +00:00
|
|
|
paste = "1.0.0"
|
|
|
|
tokio = { version = "1.0.0", features = ["full"] }
|
2024-04-03 17:13:10 +00:00
|
|
|
wiremock = "0.6.0"
|
2023-05-11 13:17:05 +00:00
|
|
|
futures = "0.3.0"
|