Cargo Features
[dependencies]
pcapture = { version = "0.1.5", default-features = false, features = ["pcapng", "pcap"] }
- default = pcapng
-
The
pcapng
feature is set by default wheneverpcapture
is added without
somewhere in the dependency tree.default-features = false - pcapng default
-
Affects
pcapng::LinkType
,pcapng::GeneralOption
,pcapng::Options
,pcapng::SectionHeaderBlock
,pcapng::InterfaceDescriptionBlock
,pcapng::EnhancedPacketBlock
,pcapng::SimplePacketBlock
,pcapng::Record
,pcapng::Records
,pcapng::NameResolutionBlock
,pcapng::InterfaceStatisticsBlock
,pcapng::BlockType
,pcapng::GeneralBlock
,pcapng::PcapNg
,pcapng::PacketData
,pcapng::PacketTimestamp
… - pcap
-
Affects
pcap::LinkType
,pcap::FileHeader
,pcap::PacketRecord
,pcap::Pcap
…