# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "body-image"
version = "2.2.0"
authors = ["David Kellum <dek-oss@gravitext.com>"]
build = "build.rs"
description = "Adaptive RAM/file-backed HTTP bodies."
documentation = "https://docs.rs/body-image"
readme = "README.md"
keywords = ["buffer", "http"]
categories = ["web-programming"]
license = "MIT/Apache-2.0"
repository = "https://github.com/dekellum/body-image"

[lib]
doctest = false
[dependencies.bytes]
version = ">=1.0.0, <1.1"

[dependencies.http]
version = ">=0.2.2, <0.3"

[dependencies.log]
version = ">=0.4.4, <0.5"

[dependencies.memmap]
version = ">=0.7.0, <0.8"
optional = true

[dependencies.olio]
version = ">=1.4.0, <1.5"
default-features = false

[dependencies.remove_dir_all]
version = ">=0.5.0, <0.5.3"
optional = true
default-features = false

[dependencies.tempfile]
version = ">=3.1.0, <3.2"

[features]
default = ["mmap"]
mmap = ["memmap", "olio/mmap"]
