]> git.nega.tv - josh/narcissus/commitdiff
narcissus-core: Update to maintained fast-float
authorJosh Simmons <josh@nega.tv>
Thu, 14 Nov 2024 21:06:29 +0000 (22:06 +0100)
committerJosh Simmons <josh@nega.tv>
Thu, 14 Nov 2024 21:06:29 +0000 (22:06 +0100)
Still necessary as the stdlib has no `parse_partial`.

Cargo.lock
engine/narcissus-core/Cargo.toml
engine/narcissus-core/src/obj.rs

index a8918080870a1e29d68e188c36c7f03a638810d3..510ffc8f22d1360d6897e879b36b5e5be6b6717f 100644 (file)
@@ -24,10 +24,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2"
 
 [[package]]
-name = "fast-float"
-version = "0.2.0"
+name = "fast-float2"
+version = "0.2.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95765f67b4b18863968b4a1bd5bb576f732b29a4a28c7cd84c09fa3e2875f33c"
+checksum = "f8eb564c5c7423d25c886fb561d1e4ee69f72354d16918afa32c08811f6b6a55"
 
 [[package]]
 name = "getrandom"
@@ -74,7 +74,7 @@ dependencies = [
 name = "narcissus-core"
 version = "0.1.0"
 dependencies = [
- "fast-float",
+ "fast-float2",
  "memchr",
 ]
 
index 09a5e79ddad1f7270aa64088ad8fbdc2ace7aa7f..aa99e001fa3d8e5d360f9b81fbfec1626a5b85c3 100644 (file)
@@ -6,5 +6,5 @@ edition = "2021"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-fast-float = "0.2"
+fast-float2 = "0.2.3"
 memchr = { version = "2" }
\ No newline at end of file
index 836d51e773dd1ad70a82fbcca3f8a6628335a8b9..49734d1d309c8106c21cb3aab5274a454be77336 100644 (file)
@@ -1,6 +1,6 @@
 use std::io::Read;
 
-use fast_float::parse_partial;
+use fast_float2::parse_partial;
 
 const MAX_LINE_SIZE: usize = 8 * 1024;