pcap 0.10.1

A packet capture API around pcap/wpcap
Documentation
[[example]]
name = "easylisten"
path = "examples/easylisten.rs"

[[example]]
name = "getdevices"
path = "examples/getdevices.rs"

[[example]]
name = "getstatistics"
path = "examples/getstatistics.rs"

[[example]]
name = "iterprint"
path = "examples/iterprint.rs"

[[example]]
name = "listenlocalhost"
path = "examples/listenlocalhost.rs"

[[example]]
name = "nfbpfcompile"
path = "examples/nfbpfcompile.rs"

[[example]]
name = "savefile"
path = "examples/savefile.rs"

[[example]]
name = "sendqueue"
path = "examples/sendqueue.rs"

[[example]]
name = "streamecho"
path = "examples/streamecho.rs"
required-features = ["capture-stream"]

[[example]]
name = "streamlisten"
path = "examples/streamlisten.rs"
required-features = ["capture-stream"]

[[example]]
name = "streamlisten_mt"
path = "examples/streamlisten_mt.rs"
required-features = ["capture-stream"]
[build-dependencies.libloading]
version = "0.6"

[build-dependencies.regex]
version = "1"
[dependencies.bitflags]
version = "1.2"

[dependencies.errno]
version = "0.2"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.tokio]
features = ["net", "rt", "macros", "rt-multi-thread"]
optional = true
version = "1.0"
[dev-dependencies.tempdir]
version = "0.3"

[features]
capture-stream = ["tokio", "futures"]

[lib]
name = "pcap"

[package]
authors = ["Sean Bowe <ewillbefull@gmail.com>", "Wojciech Kozlowski <wk@wojciechkozlowski.eu>", "Hideki Sekine"]
build = "build.rs"
description = "A packet capture API around pcap/wpcap"
documentation = "https://docs.rs/pcap"
edition = "2018"
homepage = "https://github.com/rust-pcap/pcap"
keywords = ["pcap", "packet", "sniffing"]
license = "MIT OR Apache-2.0"
name = "pcap"
readme = "README.md"
repository = "https://github.com/rust-pcap/pcap"
version = "0.10.1"
[package.metadata.docs.rs]
all-features = true
[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Networking_WinSock"]
version = "0.36.1"
[target."cfg(target_os = \"windows\")".dev-dependencies.eui48]
version = "1.1"