Expand description
§nmea-kit
Bidirectional NMEA 0183 parser/encoder with AIS message decoding.
§Architecture
raw line ──→ parse_frame() ──→ NmeaFrame { prefix, talker, sentence_type, fields }
│
┌──────────────┼──────────────┐
▼ ▼ ▼
$ + known $ + unknown ! AIVDM/AIVDO AIS app sentences
│ │ │ │
▼ ▼ ▼ ▼
Typed struct Raw fields AisMessage enum AIS sentence struct§Public API
parse_frame/encode_frame— frame layer (always available)NmeaSentence— dispatch enum for all typed NMEA sentencesNmeaEncodable— trait for encoding NMEA sentences to wire formatais— AIS decoder (behindaisfeature) and AIS application-layer sentences
§Features
nmea(default) — all 59 NMEA sentence typesais(default) — 16 AIS message types (read-only decode) + AIS application-layer sentencesdbs,dbt,dpt, … — individual sentence types
Re-exports§
pub use nmea::NmeaSentence;pub use nmea::NmeaEncodable;
Modules§
- ais
- AIS (Automatic Identification System) message decoding and application-layer sentences.
- nmea
- NMEA 0183 sentence parsing and encoding.
Structs§
- Nmea
Frame - A parsed NMEA 0183 frame with references into the original input.
Enums§
- Frame
Error - Errors from frame-level parsing (checksum, delimiters, tag blocks).
Functions§
- encode_
frame - Encode fields into a valid NMEA 0183 sentence string.
- parse_
frame - Parse a raw NMEA 0183 line into a validated frame.