Cargo Features

[dependencies]
pcapture = { version = "0.1.5", default-features = false, features = ["pcapng", "pcap"] }
default = pcapng

The pcapng feature is set by default whenever pcapture is added without default-features = false somewhere in the dependency tree.

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