Cargo Features
[dependencies]
pnet_datalink = { version = "0.35.0", default-features = false, features = ["std", "netmap", "pcap", "netmap_sys", "serde"] }
- default = std
-
The
std
feature is set by default wheneverpnet_datalink
is added without
somewhere in the dependency tree.default-features = false - std default
- netmap
-
Affects
pnet_datalink::netmap
…
Features from optional dependencies
- pcap implicit feature
-
Enables pcap ^1.1.0
pcap:
A packet capture API around pcap/wpcap
Affects
pnet_datalink::pcap
… - netmap_sys implicit feature
-
Enables netmap_sys
netmap_sys:
Bindings to netmap - the fast packet I/O framework
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework