rs162 0.1.4

NMEA AIS Message Parser and Decoder with deku-based AIS message structures
Documentation
//! AIS Message Parser and Decoder
//!
//! This library provides functionality to:
//! - demodulate AIS messages from I/Q samples
//! - parse NMEA AIVDM/AIVDO messages
//!
//! and to convert them to binary u8 data, then decode them to structured AIS messages.
//!
//! ## Feature Flags
//!
//! - **`rtlsdr`**: Enables the `RtlSdrReceiver` source for reading directly from USB RTL-SDR dongles.
//! - **`mqtt`**: Enables the `MqttReceiver` source for connecting to AIS data streams over MQTT (e.g. Digitraffic).
//!   *Disabled by default.*

pub mod decode;
pub mod dsp;
pub mod sources;

pub mod prelude {
    pub use crate::decode::ais::Message;
    pub use crate::decode::ais::{
        AddressedSafetyMessage, AidToNavigationReport, AssignmentModeCommand,
        BaseStationTimeReport, BinaryAcknowledge, BinaryAddressedMessage, BinaryBroadcastMessage,
        ChannelManagement, ClassBPositionReport, DataLinkManagementMessage, DgnssBroadcastMessage,
        EpfdType, ExtendedClassBPositionReport, GroupAssignmentCommand, InlandLoadedType,
        Interrogation, LongRangeAisBroadcastMessage, ManeuverIndicator, MultipleSlotBinaryMessage,
        NavAid, NavigationStatus, PositionReport, SafetyBroadcastMessage,
        SarAircraftPositionReport, ShipType, SingleSlotBinaryMessage, StaticDataReport,
        StationIntervals, StationType, TransmitMode, UtcDateInquiry,
    };
    pub use crate::decode::mmsi::{MmsiInfo, MmsiType};
    pub use crate::decode::nmea::{MessageAssembler, NmeaAisMessage, NmeaError};
    pub use deku::DekuRead;
}