# 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 = "2021" name = "tower-async-http" version = "0.2.0" authors = ["Glen De Cauwsemaecker "] description = """ Tower Async middleware and utilities for HTTP clients and servers. An \"Async Trait\" fork from the original Tower Library. """ homepage = "https://github.com/plabayo/tower-async" readme = "README.md" keywords = [ "io", "async", "futures", "service", "http", ] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/plabayo/tower-async" [package.metadata.cargo-public-api-crates] allowed = [ "bytes", "http", "http_body", "mime", "tokio", "tower_async", "tower_async_layer", "tower_async_service", "tracing", "tracing_core", ] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] features = ["full"] [dependencies.async-compression] version = "0.4" features = ["tokio"] optional = true [dependencies.async-lock] version = "3.1" [dependencies.base64] version = "0.21" optional = true [dependencies.bitflags] version = "2.0" [dependencies.bytes] version = "1" [dependencies.futures-core] version = "0.3" [dependencies.futures-util] version = "0.3" features = [] default_features = false [dependencies.http] version = "1" [dependencies.http-body] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.http-range-header] version = "0.4.0" [dependencies.httpdate] version = "1.0" optional = true [dependencies.iri-string] version = "0.7" optional = true [dependencies.mime] version = "0.3" optional = true default_features = false [dependencies.mime_guess] version = "2" optional = true default_features = false [dependencies.percent-encoding] version = "2.1" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.tokio] version = "1.6" optional = true default_features = false [dependencies.tokio-util] version = "0.7" features = ["io"] optional = true default_features = false [dependencies.tower-async] version = "0.2" optional = true [dependencies.tower-async-layer] version = "0.2" [dependencies.tower-async-service] version = "0.2" [dependencies.tracing] version = "0.1" optional = true default_features = false [dependencies.uuid] version = "1.0" features = ["v4"] optional = true [dev-dependencies.brotli] version = "3" [dev-dependencies.bytes] version = "1" [dev-dependencies.clap] version = "4.3" features = ["derive"] [dev-dependencies.flate2] version = "1.0" [dev-dependencies.futures] version = "0.3" [dev-dependencies.hyper] version = "1.0" features = ["full"] [dev-dependencies.hyper-util] version = "0.1" features = ["full"] [dev-dependencies.once_cell] version = "1" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.sync_wrapper] version = "0.1" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tower] version = "0.4" features = [ "util", "make", "timeout", ] [dev-dependencies.tracing] version = "0.1" default_features = false [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.uuid] version = "1.0" features = ["v4"] [dev-dependencies.zstd] version = "0.13" [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-async/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", "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 = [] normalize-path = [] propagate-header = [] redirect = [] request-id = ["uuid"] sensitive-headers = [] set-header = [] set-status = [] timeout = [ "tokio/time", "tokio/macros", ] trace = ["tracing"] util = ["tower-async"] validate-request = ["mime"]