tower-http 0.4.4

Tower middleware and utilities for HTTP clients and servers
Documentation
[dependencies.async-compression]
features = ["tokio"]
optional = true
version = "0.4"

[dependencies.base64]
optional = true
version = "0.21"

[dependencies.bitflags]
version = "2.0.2"

[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.7"

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

[dependencies.http-range-header]
version = "0.3.0"

[dependencies.httpdate]
optional = true
version = "1.0"

[dependencies.iri-string]
optional = true
version = "0.7.0"

[dependencies.mime]
default_features = false
optional = true
version = "0.3.17"

[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"

[dependencies.uuid]
features = ["v4"]
optional = true
version = "1.0"
[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 = "1.0"

[dev-dependencies.zstd]
version = "0.12"

[features]
add-extension = []
auth = ["base64", "validate-request"]
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-zstd"]
compression-gzip = ["async-compression/gzip", "tokio-util", "tokio"]
compression-zstd = ["async-compression/zstd", "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-zstd"]
decompression-gzip = ["async-compression/gzip", "tokio-util", "tokio"]
decompression-zstd = ["async-compression/zstd", "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", "set-status", "futures-util/alloc", "tracing"]
full = ["add-extension", "auth", "catch-panic", "compression-full", "cors", "decompression-full", "follow-redirect", "fs", "limit", "map-request-body", "map-response-body", "metrics", "normalize-path", "propagate-header", "redirect", "request-id", "sensitive-headers", "set-header", "set-status", "timeout", "trace", "util", "validate-request"]
limit = []
map-request-body = []
map-response-body = []
metrics = ["tokio/time"]
normalize-path = []
propagate-header = []
redirect = []
request-id = ["uuid"]
sensitive-headers = []
set-header = []
set-status = []
timeout = ["tokio/time"]
trace = ["tracing"]
util = ["tower"]
validate-request = ["mime"]

[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.60"
version = "0.4.4"
[package.metadata.cargo-public-api-crates]
allowed = ["bytes", "http", "http_body", "mime", "tokio", "tower", "tower_layer", "tower_service", "tracing", "tracing_core"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[package.metadata.playground]
features = ["full"]