Cargo Features

[dependencies]
nmea = { version = "0.7.0", default-features = false, features = ["std", "serde", "defmt-03", "all-sentences", "GNSS", "waypoint", "maritime", "radar", "water", "vendor-specific", "other", "AAM", "ALM", "APA", "BOD", "BWC", "BWW", "DBK", "DPT", "GBS", "GGA", "GLL", "GNS", "GSA", "GST", "GSV", "HDT", "MDA", "MTW", "MWV", "RMC", "RMZ", "TTM", "TXT", "VHW", "VTG", "WNC", "ZDA", "ZFO", "ZTG"] }
default = all-sentences, std

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

std default

Enables std of arrayvec, chrono, nom, optional serde, and optional serde_with ~3.9

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

serde

Enables derive of serde, chrono_0_4 and macros of serde_with ~3.9 and serde of arrayvec, chrono, and heapless

heapless:

implement serde traits.

defmt-03

Enables defmt and defmt-03 of heapless

heapless:

Implement defmt::Format from defmt v0.3

all-sentences default = GNSS, maritime, other, vendor-specific, water, waypoint
GNSS all-sentences = ALM, APA, GBS, GGA, GLL, GNS, GSA, GST, GSV, RMC, VTG

GNSS specific sentences related to the possition or speed relative to the ground

waypoint all-sentences maritime? = AAM, BOD, BWC, BWW, WNC, ZFO, ZTG
maritime all-sentences = radar, water, waypoint
radar maritime? = TTM
water all-sentences maritime? = DBK, DPT, MTW, VHW
vendor-specific all-sentences = RMZ
other all-sentences = HDT, MDA, MWV, TXT, ZDA
AAM waypoint?

AAM - Waypoint Arrival Alarm
feature: waypoint

ALM GNSS?

ALM - GPS Almanac Data
feature: GNSS

APA GNSS?

APA - Autopilot Sentence "A"
feature: GNSS

BOD waypoint?

BOD - Bearing - Waypoint to Waypoint
feature: waypoint

BWC waypoint?

BWC - Bearing & Distance to Waypoint - Great Circle feature: waypoint

BWW waypoint?

BWW - Bearing - Waypoint to Waypoint
feature: waypoint

DBK water?

DBK - Depth Below Keel
feature: water

DPT water?

DPT - Depth of Water
feature: water

GBS GNSS?

GBS - GPS Satellite Fault Detection
feature: GNSS

GGA GNSS?

GGA - Global Positioning System Fix Data
feature: GNSS

GLL GNSS?

GLL - Geographic Position - Latitude/Longitude
feature: GNSS

GNS GNSS?

GNS - Fix data
feature: GNSS

GSA GNSS?

GSA - GPS DOP and active satellites
feature: GNSS

GST GNSS?

GST - GPS Pseudorange Noise Statistics
feature: GNSS

GSV GNSS?

GSV - Satellites in view
feature: GNSS

HDT other?

HDT - Heading - True

MDA other?

MDA - Meterological Composite

MTW water?

MTW - Mean Temperature of Water
feature: water

MWV other?

MWV - Wind Speed and Angle

RMC GNSS?

RMC - Recommended Minimum Navigation Information
feature: GNSS

RMZ vendor-specific?

PGRMZ - Garmin Altitude (Vendor specific)
feature: vendor-specific

TTM radar?

TTM - Tracked target message

TXT other?

TXT - Text message

VHW water?

VHW - Water speed and heading
feature: water

VTG GNSS?

VTG - Track made good and Ground speed
feature: GNSS

WNC waypoint?

WNC - Distance - Waypoint to waypoint
feature: waypoint

ZDA other?

ZDA - Time & Date - UTC, day, month, year and local time zone

ZFO waypoint?

ZFO - UTC & Time from origin Waypoint
feature: waypoint

ZTG waypoint?

ZTG - UTC & Time to Destination Waypoint
feature: waypoint

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde_with serde?

Enables serde_with ~3.9