# 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 = "body-image-futio" version = "2.2.2" authors = ["David Kellum "] build = "build.rs" description = "Futures based asynchronous I/O for body-image." readme = "README.md" keywords = ["futures", "async", "http", "hyper"] categories = ["web-programming::http-client", "web-programming::http-server"] license = "MIT/Apache-2.0" repository = "https://github.com/dekellum/body-image" [lib] doctest = false bench = false [[example]] name = "server" required-features = ["hyper-http"] [dependencies.blocking-permit] version = ">=1.3.0, <1.4" features = ["tokio-omnibus", "cleaver", "yield-stream"] default-features = false [dependencies.body-image] version = ">=2.2.0, <2.3" default-features = false [dependencies.brotli] version = ">=3.1.0, <3.4" optional = true [dependencies.brotli-decompressor] version = ">=2.1.2" optional = true default-features = false [dependencies.bytes] version = ">=1.0.0, <1.2" [dependencies.flate2] version = ">=1.0.4, <1.1" [dependencies.futures-core] version = ">=0.3.1, <0.4" [dependencies.futures-sink] version = ">=0.3.1, <0.4" [dependencies.futures-util] version = ">=0.3.1, <0.4" features = ["sink"] [dependencies.http] version = ">=0.2.2, <0.3" [dependencies.http-body] version = ">=0.4.0, <0.5" [dependencies.httparse] version = ">=1.2.4, <1.5" [dependencies.hyper] version = ">=0.14.2, <0.15" features = ["http1", "client", "server", "stream", "tcp"] optional = true default-features = false [dependencies.hyper-tls] version = ">=0.5.0, <0.6" optional = true [dependencies.hyperx] version = ">=1.3.0, <1.4" [dependencies.memmap] version = ">=0.7.0, <0.8" optional = true [dependencies.olio] version = ">=1.4.0, <1.5" default-features = false [dependencies.tao-log] version = ">=1.0.0, <1.1" [dependencies.tokio] version = ">=1.0.1, <1.13" features = [] [dev-dependencies.lazy_static] version = ">= 1.3.0, <1.5" [dev-dependencies.piccolog] version = ">=1.0.0, <1.1" [dev-dependencies.rand] version = ">=0.8.0, <0.9" [dev-dependencies.tokio] version = ">=1.0.1" features = ["rt-multi-thread"] [features] default = ["mmap", "brotli", "hyper-http"] hyper-http = ["hyper", "hyper-tls"] may-fail = [] mmap = ["memmap", "olio/mmap", "body-image/mmap"] tangential = []