[package]
edition = "2021"
name = "pkttap"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform packet capture with pktbaffle filter expressions"
documentation = "https://docs.rs/pkttap"
readme = "README.md"
keywords = [
"pcap",
"packet-capture",
"network",
"capture",
"bpf",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/JamoBox/pktbaffle"
[lib]
name = "pkttap"
path = "src/lib.rs"
[[example]]
name = "inspect"
path = "examples/inspect.rs"
[[example]]
name = "record"
path = "examples/record.rs"
[[test]]
name = "dump"
path = "tests/dump.rs"
[[test]]
name = "file_capture"
path = "tests/file_capture.rs"
[dependencies.pcap-file]
version = "2"
[dependencies.pktbaffle]
version = "0.1.0"
features = ["vm"]
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.libloading]
version = "0.8"