tower-reqwest 0.5.2

Adapter between reqwest and tower-http crates.
Documentation
[dependencies.base64]
optional = true
version = "0.22"

[dependencies.bytes]
version = "1.10"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1.3"

[dependencies.http-body]
version = "1.0"

[dependencies.http-body-util]
version = "0.1"

[dependencies.include-utils]
version = "0.2"

[dependencies.pin-project]
version = "1.1"

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tower-layer]
version = "0.3"

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

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.serde]
features = ["derive"]
version = "1"

[dev-dependencies.serde_json]
version = "1"

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

[dev-dependencies.tower]
default-features = false
version = "0.5"

[dev-dependencies.tower-http]
default-features = false
features = ["util", "set-header", "util", "request-id"]
version = "0.6"

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

[[example]]
name = "add_authorization"
path = "examples/add_authorization.rs"
required-features = ["auth"]

[[example]]
name = "set_header"
path = "examples/set_header.rs"
required-features = ["set-header"]

[features]
auth = ["dep:base64"]
default = []
set-header = []

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "warn"
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "deny"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "network-programming", "web-programming::http-client"]
description = "Adapter between reqwest and tower-http crates."
documentation = "https://docs.rs/crate/tower-reqwest"
edition = "2021"
keywords = ["io", "async", "futures", "service", "http"]
license = "MIT OR Apache-2.0"
name = "tower-reqwest"
readme = "README.md"
repository = "https://github.com/alekseysidorov/tower-http-client"
rust-version = "1.81"
version = "0.5.2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]