Skip to content

Commit

Permalink
bump fast-float2 v0.2.3 (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
b41sh authored Nov 16, 2024
1 parent 8c8d2fc commit 37d90d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ rust-version = "1.77"

[dependencies]
byteorder = "1.5.0"
fast-float = "0.2.0"
fast-float2 = "0.2.3"
itoa = "1.0"
nom = "7.1.3"
ordered-float = { version = "4.2", default-features = false }
ordered-float = { version = "4.5", default-features = false }
rand = { version = "0.8.5", features = ["small_rng"] }
ryu = "1.0"
serde_json = { version = "1.0", default-features = false, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl<'a> Parser<'a> {
}
}

match fast_float::parse(s) {
match fast_float2::parse(s) {
Ok(v) => Ok(Value::Number(Number::Float64(v))),
Err(_) => Err(self.error(ParseErrorCode::InvalidNumberValue)),
}
Expand Down

0 comments on commit 37d90d2

Please sign in to comment.