# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70.0" name = "nmea" version = "0.7.0" authors = [ "Felix Obenhuber ", "Evgeniy A. Dushistov ", "Henrik Böving ", "Lachezar Lechev ", "AeroRust ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Simple NMEA 0183 parser" documentation = "https://docs.rs/nmea" readme = "README.md" keywords = [ "NMEA", "gps", "glonass", "coordinate", "position", ] categories = [ "parser-implementations", "no-std", "embedded", ] license = "Apache-2.0" repository = "https://github.com/AeroRust/nmea" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "nmea" path = "src/lib.rs" [[example]] name = "parse_file" path = "examples/parse_file.rs" [[test]] name = "all_supported_messages" path = "tests/all_supported_messages.rs" required-features = ["all-sentences"] [[test]] name = "file_log_parser" path = "tests/file_log_parser.rs" required-features = ["all-sentences"] [[test]] name = "functional_tests" path = "tests/functional_tests.rs" required-features = ["all-sentences"] [dependencies.arrayvec] version = "0.7" default-features = false [dependencies.cfg-if] version = "1" [dependencies.chrono] version = "0.4" default-features = false [dependencies.defmt] version = "0.3" optional = true [dependencies.heapless] version = "0.8" [dependencies.nom] version = "7.1" default-features = false [dependencies.num-traits] version = "0.2" features = ["libm"] default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serde_with] version = "~3.9" optional = true default-features = false [dev-dependencies.approx] version = "0.5" [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.quickcheck] version = "1" default-features = false [dev-dependencies.serde_json] version = "1.0" [features] AAM = [] ALM = [] APA = [] BOD = [] BWC = [] BWW = [] DBK = [] DPT = [] GBS = [] GGA = [] GLL = [] GNS = [] GNSS = [ "APA", "ALM", "GBS", "GGA", "GLL", "GNS", "GSA", "GST", "GSV", "RMC", "VTG", ] GSA = [] GST = [] GSV = [] HDT = [] MDA = [] MTW = [] MWV = [] RMC = [] RMZ = [] TTM = [] TXT = [] VHW = [] VTG = [] WNC = [] ZDA = [] ZFO = [] ZTG = [] all-sentences = [ "GNSS", "waypoint", "maritime", "water", "vendor-specific", "other", ] default = [ "std", "all-sentences", ] defmt-03 = [ "dep:defmt", "heapless/defmt-03", ] maritime = [ "waypoint", "water", "radar", ] other = [ "HDT", "MDA", "MWV", "TXT", "ZDA", ] radar = ["TTM"] serde = [ "serde/derive", "serde_with/macros", "serde_with/chrono_0_4", "heapless/serde", "chrono/serde", "arrayvec/serde", ] std = [ "nom/std", "chrono/std", "arrayvec/std", "serde?/std", "serde_with?/std", ] vendor-specific = ["RMZ"] water = [ "DBK", "DPT", "MTW", "VHW", ] waypoint = [ "AAM", "BOD", "BWC", "BWW", "WNC", "ZFO", "ZTG", ]