pcap-toolkit 0.2.0

A blazing-fast, data-oriented PCAP manipulation, routing, and transformation tool written in Rust
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 = "pcap-toolkit"
version = "0.2.0"
authors = ["Sébastien LUNDI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A blazing-fast, data-oriented PCAP manipulation, routing, and transformation tool written in Rust"
readme = "README.md"
keywords = [
    "pcap",
    "network",
    "packet",
    "capture",
    "forensics",
]
categories = [
    "command-line-utilities",
    "network-programming",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://codeberg.org/slundi/pcap-toolkit"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[package.metadata.cargo-machete]
ignored = []

[lib]
name = "pcap_toolkit"
path = "src/lib.rs"

[[bin]]
name = "pcap-toolkit"
path = "src/main.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0.102"

[dependencies.apache-avro]
version = "0.21"
features = ["zstandard"]

[dependencies.base64]
version = "0.22"

[dependencies.bpaf]
version = "0.9.26"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.etherparse]
version = "0.20.1"

[dependencies.parquet]
version = "53"
features = [
    "zstd",
    "snap",
]
default-features = false

[dependencies.pcap-parser]
version = "0.17.0"

[dependencies.rapidhash]
version = "4.4.1"

[dependencies.rayon]
version = "1.12.0"

[dependencies.rustc-hash]
version = "2"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml-span]
version = "0.7.1"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[target.'cfg(target_os = "linux")'.dependencies.socket2]
version = "0.5"
features = ["all"]

[profile.bench]
debug = 0

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true