Skip to content

Commit 37d90d2

Browse files
authored
bump fast-float2 v0.2.3 (#69)
1 parent 8c8d2fc commit 37d90d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ 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"
33-
ordered-float = { version = "4.2", default-features = false }
33+
ordered-float = { version = "4.5", default-features = false }
3434
rand = { version = "0.8.5", features = ["small_rng"] }
3535
ryu = "1.0"
3636
serde_json = { version = "1.0", default-features = false, features = ["std"] }

src/parser.rs

+1-1
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)