Skip to content

Commit 5ec8788

Browse files
authored
Merge pull request #95 from AeroRust/fix-floating-point-num-traits
fix: no_std floating point operation and bump version
2 parents 32457f0 + 11aa97d commit 5ec8788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nmea"
3-
version = "0.4.0"
3+
version = "0.4.1"
44

55
authors = [
66
"Felix Obenhuber <felix@obenhuber.de>",
@@ -33,7 +33,7 @@ nom = { version = "7.1.1", default-features = false }
3333

3434
# we include num-traits only when `std` is not enabled
3535
# because of `fract()` and `trunc()` methods
36-
num-traits = { version = "0.2", default-features = false }
36+
num-traits = { version = "0.2", default-features = false, features = ["libm"]}
3737

3838
[dev-dependencies]
3939
approx = "0.5.1"

0 commit comments

Comments
 (0)