[package]
edition = "2024"
name = "http_wire"
version = "0.3.0"
authors = ["Nicola Bonelli <nicola@larthia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serialize HTTP/1.1 requests and responses to wire format bytes"
readme = "README.md"
keywords = [
"http",
"http1",
"serialization",
"wire-format",
"hyper",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/awgn/http_wire"
[lib]
name = "http_wire"
path = "src/lib.rs"
[[example]]
name = "sync_encode"
path = "examples/sync_encode.rs"
[[example]]
name = "sync_vs_async"
path = "examples/sync_vs_async.rs"
[dependencies.bytes]
version = "1.11.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.http]
version = "1.4.0"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.httparse]
version = "1.10.1"
[dependencies.hyper]
version = "1.8.1"
features = [
"client",
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1.19"
features = ["tokio"]
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.49.0"
features = [
"io-std",
"io-util",
"macros",
"rt",
"time",
]