aivdm 0.3.0

no_std, no_alloc parser and encoder for AIS (ITU-R M.1371) messages over NMEA 0183
Documentation
# 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 = "2024"
rust-version = "1.87.0"
name = "aivdm"
version = "0.3.0"
authors = ["hz2 <dev.json2@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std, no_alloc parser and encoder for AIS (ITU-R M.1371) messages over NMEA 0183"
homepage = "https://github.com/hz2/aivdm"
documentation = "https://docs.rs/aivdm"
readme = "README.md"
keywords = [
    "ais",
    "nmea",
    "no-std",
    "maritime",
    "aivdm",
]
categories = [
    "parser-implementations",
    "no-std",
    "embedded",
    "encoding",
]
license = "MIT"
repository = "https://github.com/hz2/aivdm"
resolver = "2"

[features]
default = []
defmt = ["dep:defmt"]
heapless = ["dep:heapless"]
uom = ["dep:uom"]

[lib]
name = "aivdm"
path = "src/lib.rs"

[[test]]
name = "real_world_corpus"
path = "tests/real_world_corpus.rs"

[[bench]]
name = "codec"
path = "benches/codec.rs"
harness = false

[dependencies.defmt]
version = "0.3"
optional = true

[dependencies.heapless]
version = "0.8"
optional = true
default-features = false

[dependencies.uom]
version = "0.38"
features = [
    "f64",
    "si",
    "autoconvert",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]