Cargo Features

[dependencies]
nmea = { version = "0.6.0", default-features = false, features = ["std", "serde", "all-sentences", "GNSS", "waypoint", "maritime", "water", "vendor-specific", "other", "AAM", "ALM", "BOD", "BWC", "BWW", "DBK", "GBS", "GGA", "GLL", "GNS", "GSA", "GSV", "HDT", "MDA", "MTW", "MWV", "RMC", "RMZ", "TXT", "VHW", "VTG", "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

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 and serde of arrayvec, chrono, and heapless ^0.7

heapless:

implement serde traits.

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

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

waypoint all-sentences maritime? = AAM, BOD, BWC, BWW, ZFO, ZTG
maritime all-sentences = water, waypoint
water all-sentences maritime? = DBK, 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

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

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

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

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

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?