reqwest-middleware/reqwest-retry/Cargo.toml

42 lines
1.2 KiB
TOML
Raw Normal View History

2021-08-10 16:07:08 +00:00
[package]
name = "reqwest-retry"
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]
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"
http = "1.0"
reqwest = { version = "0.12.0", default-features = false }
retry-policies = "0.4"
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
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
hyper = "1.0"
2024-07-24 13:53:52 +00:00
tokio = { version = "1.6.0", default-features = false, features = ["time"] }
[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"] }
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"] }
wiremock = "0.6.0"
2023-05-11 13:17:05 +00:00
futures = "0.3.0"