Cargo Features

[dependencies]
ais = { version = "0.12.0", default-features = false, features = ["std", "alloc"] }
default = std

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

std default

Enables std of nom

Affects ais::lib.std, binary_acknowledge::AcknowledgementList, binary_addressed::MessageData, binary_broadcast_message::MessageData, data_link_management_message::SlotReservationList, dgnss_broadcast_binary_message::CorrectionData, interrogation::MessageList, interrogation::StationList, parsers::AsciiString, safety_related_acknowledgment::AcknowledgementList, sentence::AisRawData

Required by the aisparser binary

alloc

Enables alloc of nom

Affects ais::lib.std, binary_acknowledge::AcknowledgementList, binary_addressed::MessageData, binary_broadcast_message::MessageData, data_link_management_message::SlotReservationList, dgnss_broadcast_binary_message::CorrectionData, interrogation::MessageList, interrogation::StationList, parsers::AsciiString, safety_related_acknowledgment::AcknowledgementList, sentence::AisRawData