[package]
edition = "2021"
name = "capfile"
version = "0.1.2"
authors = ["Yoav Haimov <haimovyoav@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust crate for reading/writing pcap/pcapng files with zero-copy parsing"
homepage = "https://github.com/Zikithezikit/capfile"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Zikithezikit/capfile"
[features]
default = ["std"]
std = []
[lib]
name = "capfile"
path = "src/lib.rs"
[[bin]]
name = "capfile"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.memmap2]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.winnow]
version = "0.6"
[dev-dependencies.cargo-fuzz]
version = "0.11"
[profile.release]
lto = true
codegen-units = 1