Skip to content

Commit 4a4de1b

Browse files
authored
Merge pull request #131 from babichjacob/resolve-fast-float-rustsec
Replace `fast-float` with `fast-float2`
2 parents 39ed2e8 + f4716bc commit 4a4de1b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dashmap = "5.5.0"
2929
delegate = "0.8.0"
3030
directories = "4.0"
3131
env_logger = "0.9.3"
32-
fast-float = "0.2.0"
32+
fast-float2 = "0.2.3"
3333
float-ord = "0.3.2"
3434
futures = "0.3.28"
3535
fxhash = "0.2.1"

crates/builder/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ atomic.workspace = true
1515
byte-slice-cast.workspace = true
1616
dashmap.workspace = true
1717
delegate.workspace = true
18-
fast-float.workspace = true
18+
fast-float2.workspace = true
1919
fxhash.workspace = true
2020
gdl = { workspace = true, optional = true }
2121
linereader.workspace = true

crates/builder/src/input/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ impl_parse_value!(
102102

103103
impl_parse_value!(parse_float, f32, f64);
104104

105-
fn parse_float<T: fast_float::FastFloat>(bytes: &[u8]) -> (T, usize) {
106-
fast_float::parse_partial(bytes).unwrap()
105+
fn parse_float<T: fast_float2::FastFloat>(bytes: &[u8]) -> (T, usize) {
106+
fast_float2::parse_partial(bytes).unwrap()
107107
}

0 commit comments

Comments
 (0)