Cargo Features

pcap has no features set by default.

[dependencies]
pcap = { version = "2.2.0", features = ["capture-stream", "lending-iter"] }
capture-stream = futures, tokio

This feature enables access to the function Capture::stream.
This is disabled by default, because it depends on a tokio

Enables Win32_System_Threading of windows-sys ^0.36.1

Affects capture::selectable

lending-iter = gat-std

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio capture-stream?
futures capture-stream?
gat-std lending-iter?