[package]
edition = "2021"
name = "pktbaffle"
version = "0.1.0"
build = false
exclude = ["docs/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile libpcap-style packet filter expressions to classic BPF programs"
documentation = "https://docs.rs/pktbaffle"
readme = "README.md"
keywords = [
"bpf",
"pcap",
"network",
"packet",
"filter",
]
categories = [
"network-programming",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/JamoBox/pktbaffle"
[features]
vm = []
[lib]
name = "pktbaffle"
path = "src/lib.rs"
[[example]]
name = "bpf_live_test"
path = "examples/bpf_live_test.rs"
[[example]]
name = "dump_filter"
path = "examples/dump_filter.rs"
[[test]]
name = "bytecode"
path = "tests/bytecode.rs"
[[test]]
name = "ebpf"
path = "tests/ebpf.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies]
[dev-dependencies.libc]
version = "0.2"