mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-27 03:16:32 +00:00
9ea95201d0
Hi, I'd like to ask for new releases for the middleware crates: reqwest-middleware 0.4.0, reqwest-retry 0.7.0 and reqwest-tracing 0.5.4. In [uv](https://github.com/astral-sh/uv), we're currently using a git dependency for https://github.com/TrueLayer/reqwest-middleware/pull/159, and we'd like to move to a crates.io dependency (https://github.com/astral-sh/uv/issues/8932). I've bump reqwest-middleware and reqwest-retry according to being breaking changes in the error type, while requiring reqwest-middleware `>0.3.0, <0.5.0` in reqwest-retry and reqwest-tracing for minimal downstream disruption.
41 lines
1.3 KiB
TOML
41 lines
1.3 KiB
TOML
[package]
|
|
name = "reqwest-retry"
|
|
version = "0.7.0"
|
|
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"]
|
|
|
|
[features]
|
|
default = ["tracing"]
|
|
tracing = ["dep:tracing"]
|
|
|
|
[dependencies]
|
|
reqwest-middleware = { version = ">0.3.0, <0.5.0", path = "../reqwest-middleware" }
|
|
|
|
anyhow = "1.0.0"
|
|
async-trait = "0.1.51"
|
|
futures = "0.3.0"
|
|
http = "1.0"
|
|
reqwest = { version = "0.12.0", default-features = false }
|
|
retry-policies = "0.4"
|
|
thiserror = "1.0.61"
|
|
tracing = { version = "0.1.26", optional = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
hyper = "1.0"
|
|
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"
|
|
getrandom = { version = "0.2.0", features = ["js"] }
|
|
|
|
[dev-dependencies]
|
|
paste = "1.0.0"
|
|
tokio = { version = "1.0.0", features = ["full"] }
|
|
wiremock = "0.6.0"
|
|
futures = "0.3.0"
|