Files
wehub-resource-sync 19dc5d82a0
Rust / build (push) Failing after 1s
Rust / docker (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:29:44 +08:00

28 lines
964 B
TOML

[package]
name = "rustnet-capture"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "libpcap/Npcap-based packet-capture backend for rustnet: device selection, BPF filters, macOS PKTAP, TUN/TAP, and a raw-frame reader"
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/rustnet-capture"
readme = "README.md"
license.workspace = true
keywords = ["network", "packet", "capture", "pcap", "bpf"]
categories = ["network-programming"]
[lib]
name = "rustnet_capture"
path = "src/lib.rs"
# This crate yields raw frames + DLT only; parsing is rustnet-core's job. It
# deliberately does NOT depend on rustnet-core, so a consumer wanting just a
# capture source isn't forced to compile the full analysis stack (ring, aes,
# maxminddb, ...). Pair it with rustnet-core at the application layer.
[dependencies]
anyhow.workspace = true
log.workspace = true
pcap = "2.4.0"