# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "pcap_on_demand" version = "0.1.3" authors = ["Malte Schledjewski ", "Sean Bowe "] build = "build.rs" description = "A packet capture API around pcap/wpcap that loads pcap/wpcap on demand" homepage = "https://github.com/MalteSchledjewski/pcap_on_demand" documentation = "https://docs.rs/pcap_on_demand" readme = "README.md" keywords = ["pcap", "packet", "sniffing"] license = "MIT OR Apache-2.0" repository = "https://github.com/MalteSchledjewski/pcap_on_demand" [lib] name = "pcap_on_demand" [[example]] name = "listenlocalhost" path = "examples/listenlocalhost.rs" [[example]] name = "getdevices" path = "examples/getdevices.rs" [[example]] name = "easylisten" path = "examples/easylisten.rs" [[example]] name = "savefile" path = "examples/savefile.rs" [[example]] name = "getstatistics" path = "examples/getstatistics.rs" [[example]] name = "streamlisten" path = "examples/streamlisten.rs" [dependencies.clippy] version = "0.0.*" optional = true [dependencies.futures] version = "0.1" optional = true [dependencies.libc] version = "0.2" [dependencies.libloading] version = "0.5" [dependencies.mio] version = "0.6" optional = true [dependencies.tokio-core] version = "0.1" optional = true [dev-dependencies.tempdir] version = "0.3" [features] full = ["pcap-savefile-append", "pcap-fopen-offline-precision", "tokio"] pcap-fopen-offline-precision = [] pcap-savefile-append = [] tokio = ["mio", "tokio-core", "futures"]