We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c8d2fc commit 01304f7Copy full SHA for 01304f7
Cargo.toml
@@ -27,7 +27,7 @@ rust-version = "1.77"
27
28
[dependencies]
29
byteorder = "1.5.0"
30
-fast-float = "0.2.0"
+fast-float2 = "0.2.3"
31
itoa = "1.0"
32
nom = "7.1.3"
33
ordered-float = { version = "4.2", default-features = false }
src/parser.rs
@@ -271,7 +271,7 @@ impl<'a> Parser<'a> {
271
}
272
273
274
- match fast_float::parse(s) {
+ match fast_float2::parse(s) {
275
Ok(v) => Ok(Value::Number(Number::Float64(v))),
276
Err(_) => Err(self.error(ParseErrorCode::InvalidNumberValue)),
277
0 commit comments