Skip to content

Commit 01304f7

Browse files
committed
bump fast-float2 v0.2.3
1 parent 8c8d2fc commit 01304f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ rust-version = "1.77"
2727

2828
[dependencies]
2929
byteorder = "1.5.0"
30-
fast-float = "0.2.0"
30+
fast-float2 = "0.2.3"
3131
itoa = "1.0"
3232
nom = "7.1.3"
3333
ordered-float = { version = "4.2", default-features = false }

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl<'a> Parser<'a> {
271271
}
272272
}
273273

274-
match fast_float::parse(s) {
274+
match fast_float2::parse(s) {
275275
Ok(v) => Ok(Value::Number(Number::Float64(v))),
276276
Err(_) => Err(self.error(ParseErrorCode::InvalidNumberValue)),
277277
}

0 commit comments

Comments
 (0)