[dependencies.async-compression]
features = ["tokio"]
optional = true
version = "0.3"
[dependencies.base64]
optional = true
version = "0.13"
[dependencies.bitflags]
version = "1.3.1"
[dependencies.bytes]
version = "1"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
default_features = false
features = []
version = "0.3.14"
[dependencies.http]
version = "0.2.2"
[dependencies.http-body]
version = "0.4.1"
[dependencies.http-range-header]
version = "0.3.0"
[dependencies.httpdate]
optional = true
version = "1.0"
[dependencies.iri-string]
optional = true
version = "0.4"
[dependencies.mime]
default_features = false
optional = true
version = "0.3"
[dependencies.mime_guess]
default_features = false
optional = true
version = "2"
[dependencies.percent-encoding]
optional = true
version = "2.1.0"
[dependencies.pin-project-lite]
version = "0.2.7"
[dependencies.tokio]
default_features = false
optional = true
version = "1.6"
[dependencies.tokio-util]
default_features = false
features = ["io"]
optional = true
version = "0.7"
[dependencies.tower]
optional = true
version = "0.4.1"
[dependencies.tower-layer]
version = "0.3"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
default_features = false
optional = true
version = "0.1"
[dev-dependencies.brotli]
version = "3"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.flate2]
version = "1.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.hyper]
features = ["full"]
version = "0.14"
[dev-dependencies.once_cell]
version = "1"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
features = ["full"]
version = "1"
[dev-dependencies.tower]
features = ["buffer", "util", "retry", "make", "timeout"]
version = "0.4.10"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.uuid]
features = ["v4"]
version = "0.8"
[features]
add-extension = []
auth = ["base64"]
catch-panic = ["tracing", "futures-util/std"]
compression-br = ["async-compression/brotli", "tokio-util", "tokio"]
compression-deflate = ["async-compression/zlib", "tokio-util", "tokio"]
compression-full = ["compression-br", "compression-deflate", "compression-gzip"]
compression-gzip = ["async-compression/gzip", "tokio-util", "tokio"]
cors = []
decompression-br = ["async-compression/brotli", "tokio-util", "tokio"]
decompression-deflate = ["async-compression/zlib", "tokio-util", "tokio"]
decompression-full = ["decompression-br", "decompression-deflate", "decompression-gzip"]
decompression-gzip = ["async-compression/gzip", "tokio-util", "tokio"]
default = []
follow-redirect = ["iri-string", "tower/util"]
fs = ["tokio/fs", "tokio-util/io", "tokio/io-util", "mime_guess", "mime", "percent-encoding", "httpdate"]
full = ["add-extension", "auth", "catch-panic", "compression-full", "cors", "decompression-full", "follow-redirect", "fs", "map-request-body", "map-response-body", "metrics", "propagate-header", "redirect", "request-id", "sensitive-headers", "set-header", "trace", "util"]
map-request-body = []
map-response-body = []
metrics = ["tokio/time"]
propagate-header = []
redirect = []
request-id = []
sensitive-headers = []
set-header = []
trace = ["tracing"]
util = ["tower"]
[package]
authors = ["Tower Maintainers <team@tower-rs.com>"]
categories = ["asynchronous", "network-programming", "web-programming"]
description = "Tower middleware and utilities for HTTP clients and servers"
edition = "2018"
homepage = "https://github.com/tower-rs/tower-http"
keywords = ["io", "async", "futures", "service", "http"]
license = "MIT"
name = "tower-http"
readme = "../README.md"
repository = "https://github.com/tower-rs/tower-http"
rust-version = "1.51"
version = "0.2.5"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
features = ["full"]