Skip to content

Commit

Permalink
feat: bump heapless to 0.8 and add defmt-03 feature
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Jan 25, 2024
1 parent 297ae5b commit 26dce85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
arrayvec = { version = "0.7", default-features = false }
chrono = { version = "0.4", default-features = false }
heapless = "0.7"
heapless = "0.8"
nom = { version = "7.1", default-features = false }

# we include num-traits only when `std` is not enabled
Expand All @@ -38,6 +38,8 @@ cfg-if = "1"
serde = { version = "1.0", default-features = false, optional = true }
serde_with = { version = "3.0", default-features = false, optional = true }

defmt = { version = "0.3", optional = true }

[dev-dependencies]
approx = "0.5"
doc-comment = "0.3"
Expand All @@ -59,6 +61,8 @@ serde = [
"arrayvec/serde"
]

defmt-03 = ["dep:defmt", "heapless/defmt-03"]

all-sentences = ["GNSS", "waypoint", "maritime", "water", "vendor-specific", "other"]
# GNSS specific sentences related to the possition or speed relative to the ground
GNSS = ["ALM", "GBS", "GGA", "GLL", "GNS", "GSA", "GSV", "RMC", "VTG"]
Expand Down

0 comments on commit 26dce85

Please sign in to comment.