[package]
edition = "2024"
name = "haproxy-protocol"
version = "0.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HAProxy Protocol"
homepage = "https://github.com/kanidm/haproxy-protocol/"
readme = "README.md"
keywords = [
"haproxy",
"protocol",
"proxy",
]
categories = ["network-programming"]
license = "MPL-2.0"
repository = "https://github.com/kanidm/haproxy-protocol/"
[features]
default = []
tokio = ["dep:tokio"]
[lib]
name = "haproxy_protocol"
path = "src/lib.rs"
[[example]]
name = "pcapng_parser"
path = "examples/pcapng_parser.rs"
[dependencies.hex]
version = "0.4"
[dependencies.nom]
version = "8.0.0"
[dependencies.tokio]
version = "1"
features = ["io-util"]
optional = true
[dependencies.tracing]
version = "0.1"
[dev-dependencies.pcap-parser]
version = "0.17.0"
features = [
"data",
"serialize",
]
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"io-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3.22"