reqwest-middleware 0.5.1

Wrapper around reqwest to allow for client middleware chains.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "reqwest-middleware"
version = "0.5.1"
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wrapper around reqwest to allow for client middleware chains."
readme = "README.md"
keywords = [
    "reqwest",
    "http",
    "middleware",
]
categories = ["web-programming::http-client"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TrueLayer/reqwest-middleware"

[features]
charset = ["reqwest/charset"]
form = [
    "reqwest/form",
    "dep:serde",
]
http2 = ["reqwest/http2"]
json = [
    "reqwest/json",
    "dep:serde",
]
multipart = ["reqwest/multipart"]
query = [
    "reqwest/query",
    "dep:serde",
]
rustls = ["reqwest/rustls"]

[lib]
name = "reqwest_middleware"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.0"

[dependencies.async-trait]
version = "0.1.51"

[dependencies.http]
version = "1.0.0"

[dependencies.reqwest]
version = "0.13.1"
default-features = false

[dependencies.serde]
version = "1.0.106"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tower-service]
version = "0.3.0"

[dev-dependencies.reqwest]
version = "0.13.1"
features = ["rustls"]

[dev-dependencies.tokio]
version = "1.0.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6.0"