Cargo Features

[dependencies]
pkts = { version = "0.2.1", default-features = false, features = ["std", "alloc", "error_string", "custom_layer_selection"] }
default = custom_layer_selection, error_string, std

These default features are set whenever pkts is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Affects dev_traits::BaseLayer, dev_traits::ToBoxedLayer, dev_traits::LayerIndexSingleton, dev_traits::CustomLayerSelection.can_add_payload, dev_traits::CustomLayerSelection.payload_to_boxed, diameter::Diameter, diameter::DiamBase, diameter::BaseCommand, diameter::AbortSessionReq, diameter::AbortSessionAns, diameter::AccountingReq, diameter::AccountingAns, diameter::CapExchangeReq, diameter::CapExchangeAns, diameter::DevWatchdogReq, diameter::DevWatchdogAns, diameter::DisconnectPeerReq, diameter::DisconnectPeerAns, diameter::ReAuthReq, diameter::ReAuthAns

error_string default

Affects error::ValidationError.reason

custom_layer_selection default

Enables custom_layer_selection of pkts-macros

Affects dev_traits::BaseLayerSelection, dev_traits::CustomLayerSelection