Cargo Features
[dependencies]
rikopnet = { version = "0.34.0", default-features = false, features = ["std", "netmap", "pcap", "travis", "serde", "benchmark"] }
- default = std
-
The
std
feature is set by default wheneverrikopnet
is added without
somewhere in the dependency tree.default-features = false - std default = ipnetwork, pnet_datalink, pnet_sys, pnet_transport
-
Enables std of pnet_base ^0.34.0
Affects
rikopnet::datalink
,rikopnet::transport
… - netmap
-
Enables netmap and netmap_sys of pnet_datalink ^0.34.0
- pcap
-
Enables pcap of pnet_datalink ^0.34.0
- appveyor travis
- serde
-
Enables serde of pnet_base ^0.34.0 and optional pnet_datalink ^0.34.0
- benchmark
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.
- ipnetwork std
- pnet_sys std
-
Enables pnet_sys ^0.34.0
- pnet_datalink netmap? pcap? std
-
Enables pnet_datalink ^0.34.0
- pnet_transport std
-
Enables pnet_transport ^0.34.0