From e4687765d79bc07c1252743fe655f0c054ef9ead Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 10 Mar 2023 16:18:21 +0100 Subject: [PATCH] refactor(tvix/store): bump fastcdc dep This removes the use of Box::new, switching fastcdc to version 3.0.2 with https://github.com/nlfiedler/fastcdc-rs/issues/25 fixed. Change-Id: I64f388b9e0a7f358e25a8bb7ca0e4df1d3bb01c4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8249 Tested-by: BuildkiteCI Reviewed-by: raitobezarius Reviewed-by: tazjin Autosubmit: flokli --- tvix/Cargo.lock | 4 ++-- tvix/Cargo.nix | 4 ++-- tvix/store/Cargo.toml | 2 +- tvix/store/src/import.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock index de4d832b8..c5b34604b 100644 --- a/tvix/Cargo.lock +++ b/tvix/Cargo.lock @@ -675,9 +675,9 @@ checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" [[package]] name = "fastcdc" -version = "3.0.0" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c47726595a8a071d7d8045a837d1179b1964633e256300675aa50c31284a23e2" +checksum = "3ef4ee6b697e7bbdf002ba496c5efdb899729cb83cc6adc7ef9a776e4d040b5d" [[package]] name = "fastrand" diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 7167a3cc1..2d130f42c 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -1915,9 +1915,9 @@ rec { }; "fastcdc" = rec { crateName = "fastcdc"; - version = "3.0.0"; + version = "3.0.2"; edition = "2018"; - sha256 = "1qi398l32355b9kh0qr57rin86cv2z8kga25h1yis1wab9cjcxy4"; + sha256 = "0p8b0i6nwxwsxz3sviiwp2f756dqzmg6qjds0bqbsyvyd5myxx1y"; authors = [ "Nathan Fiedler " ]; diff --git a/tvix/store/Cargo.toml b/tvix/store/Cargo.toml index 65d3420ab..ac495b63b 100644 --- a/tvix/store/Cargo.toml +++ b/tvix/store/Cargo.toml @@ -12,7 +12,7 @@ blake3 = { version = "1.3.1", features = ["rayon", "std"] } clap = { version = "4.0", features = ["derive", "env"] } count-write = "0.1.0" data-encoding = "2.3.3" -fastcdc = "3.0.0" +fastcdc = "3.0.2" lazy_static = "1.4.0" nix-compat = { path = "../nix-compat" } prost = "0.11.2" diff --git a/tvix/store/src/import.rs b/tvix/store/src/import.rs index 564363f1f..d2974d93c 100644 --- a/tvix/store/src/import.rs +++ b/tvix/store/src/import.rs @@ -129,7 +129,7 @@ fn process_entry