haproxy-protocol 0.0.4

HAProxy Protocol
Documentation
# 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 = "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"