# 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 = "packet_parser"
version = "0.10.2"
authors = ["Cyprien Avico avicocyprien@yahoo.com"]
build = false
exclude = [
    ".github/",
    ".gitignore",
    "tests/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A powerful and modular Rust crate for network packet parsing."
homepage = "https://github.com/Akmot9/Packet-parser"
readme = "README.md"
keywords = [
    "network",
    "packets",
    "parser",
    "cybersecurity",
    "Rust",
]
categories = [
    "network-programming",
    "parsing",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Akmot9/Packet-parser"

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

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

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

[dependencies.aquamarine]
version = "0.6.0"

[dependencies.chrono]
version = "0.4.42"

[dependencies.hex]
version = "0.4.3"

[dependencies.pcap-file]
version = "2.0.0"

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

[dependencies.thiserror]
version = "2.0.17"

[dependencies.uuid]
version = "1.18.1"

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

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.pnet]
version = "0.35.0"

[dev-dependencies.serde_json]
version = "1.0.145"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
rpath = false
panic = "abort"
incremental = false
strip = false
