protolens 0.2.3

TCP stream reassembly,application layer protocol parsing
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 = "protolens"
version = "0.2.3"
authors = ["李春辉 <chunhui_true@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TCP stream reassembly,application layer protocol parsing"
homepage = "https://github.com/chunhuitrue/protolens"
documentation = "https://docs.rs/protolens"
readme = "README.md"
keywords = [
    "reassembly",
    "protocol",
    "parser",
]
categories = [
    "parsing",
    "network-programming",
    "parser-implementations",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/chunhuitrue/protolens"

[features]
bench = [
    "dep:criterion",
    "dep:pcap",
    "dep:etherparse",
]
jemalloc = ["dep:jemallocator"]

[lib]
name = "protolens"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[example]]
name = "protolens_example"
path = "examples/src/main.rs"

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false
required-features = ["bench"]

[dependencies.byteorder]
version = "1.5.0"

[dependencies.criterion]
version = "0.5.1"
optional = true

[dependencies.etherparse]
version = "0.13.0"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.imapprotolens]
version = "0.16.6"

[dependencies.jemallocator]
version = "0.5.4"
optional = true

[dependencies.libc]
version = "0.2.170"

[dependencies.memchr]
version = "2.7.4"

[dependencies.nom]
version = "7.1.3"

[dependencies.pcap]
version = "2.2.0"
optional = true

[dependencies.phf]
version = "0.11"
features = ["macros"]

[dev-dependencies.ctrlc]
version = "3.4.2"

[dev-dependencies.etherparse]
version = "0.13.0"

[dev-dependencies.pcap]
version = "2.2.0"

[dev-dependencies.tmohash]
version = "0.1.0"

[profile.bench]
debug = 2

[profile.release]
lto = true
codegen-units = 1