# 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 = "barc" version = "2.2.2" authors = ["David Kellum "] build = "build.rs" exclude = ["barc.stash/*"] description = "Body Archive (BARC) file reader and writer, for HTTP dialogs" readme = "README.md" keywords = ["http", "compression", "serialization"] categories = ["web-programming"] license = "MIT/Apache-2.0" repository = "https://github.com/dekellum/body-image" [lib] doctest = false bench = 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.http] version = ">=0.2.2, <0.3" [dependencies.httparse] version = ">=1.2.4, <1.5" [dependencies.memmap] version = ">=0.7.0, <0.8" optional = true [dependencies.mime] version = ">=0.3.13, <0.4" [dependencies.olio] version = ">=1.4.0, <1.5" default-features = false [dependencies.tao-log] version = ">=1.0.0, <1.1" [dev-dependencies.piccolog] version = ">=1.0.0, <1.1" [features] default = ["mmap", "brotli"] mmap = ["memmap", "olio/mmap", "body-image/mmap"]