# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56" name = "libpcap-rs" version = "0.2.1" authors = ["jankincai "] include = [ "src/*", "benches/*", "examples/*", "build.rs", "Cargo.toml", "LICENSE*", "README.md", "wrapper.h", ] description = "Rust encapsulates the C language libpcap" readme = "README.md" keywords = [ "pcap", "pcapng", "libpcap", "libpcap-rs", "pcap-parser", ] categories = [ "api-bindings", "command-line-utilities", ] license = "MIT OR Apache-2.0" repository = "https://github.com/caizhengxin/libpcap-rs" [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.clap] version = "4" features = ["derive"] [dependencies.hex] version = "0.4" features = ["serde"] [dependencies.jkcenum] version = "0.2.1" features = ["derive"] [dependencies.jppe] version = "1.0.0" features = ["derive"] [dependencies.signal-hook] version = "0.3" [dependencies.thiserror] version = "1" [build-dependencies.bindgen] version = "0.69.1"