[package] name = "libpcap-rs" version = "0.2.1" authors = [ "jankincai ", ] edition = "2021" description = "Rust encapsulates the C language libpcap" repository = "https://github.com/caizhengxin/libpcap-rs" readme = "README.md" # https://crates.io/category_slugs categories = [ "api-bindings", "command-line-utilities", ] keywords = [ "pcap", "pcapng", "libpcap", "libpcap-rs", "pcap-parser", ] license = "MIT OR Apache-2.0" rust-version = "1.56" include = [ "src/*", "benches/*", "examples/*", "build.rs", "Cargo.toml", "LICENSE*", "README.md", "wrapper.h", ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [profile.dev] opt-level = 1 overflow-checks = false [[bin]] name = "libpcap-merge" path = "src/cli/libpcap_merge.rs" [[bin]] name = "libpcap-read" path = "src/cli/libpcap_read.rs" [[bin]] name = "libpcap-write" path = "src/cli/libpcap_write.rs" [[bin]] name = "libpcap-sniff" path = "src/cli/libpcap_capture.rs" [dependencies] jkcenum = { version = "0.2.1", features = ["derive"] } thiserror = "1" clap = { version = "4", features = ["derive"] } hex = { version = "0.4", features = ["serde"]} signal-hook = "0.3" jppe = { version = "1.0.0", features = ["derive"] } [build-dependencies] bindgen = "0.69.1"