[package]
name = "product-os-http-body"
version = "0.0.14"
authors = ["Jeremy de Oliveira-Kumar <eremyj@gmail.com>"]
edition = "2021"
rust-version = "1.69"
description = "Product OS : Http Body is a derivative of the http-body and http-body-util crates restructured for both std and no_std environments."
readme = "readme.md"
license = "AGPL-3.0-only"
keywords = ["product-os"]
categories = []
build = false
exclude = []
include = []
autobins = true
autoexamples = true
autotests = true
autobenches = true
resolver = "2"
[dependencies]
no-std-compat = { version = "0.4.1", features = ["alloc"], optional = false }
core-error = { version = "0.0.1-rc4", features = [], default-features = false, optional = false }
thiserror = { version = "1.0.61", features = [], default-features = true, optional = false }
bytes = { version = "1.5.0", features = [], default-features = false, optional = false }
http-body = { version = "1.0.0", features = [], default-features = true, optional = true }
http-body-util = { version = "0.1.1", features = [], default-features = true, optional = true }
hyper = { version = "1.3.1", features = [], default-features = true, optional = true }
futures = { version = "0.3.30", features = [], default-features = false, optional = false }
futures-util = { version = "0.3.30", features = ["alloc"], default-features = false, optional = false }
pin-project-lite = { version = "0.2.14", features = [], default-features = false, optional = false }
product-os-http = { version = ">= 0.0.1", features = [], default-features = false, optional = false }
[patch.crates-io]
product-os-http = { path = "../product-os-http", features = [], default-features = false, optional = false }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt", "sync", "rt-multi-thread"] }
[features]
default = ["std"]
std = ["no-std-compat/std", "http-body", "bytes/std", "http-body-util"]
box_body = []
incoming = ["hyper"]
[workspace]