diff options
author | Florian Klink <flokli@flokli.de> | 2023-03-10T15·18+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-03-11T14·12+0000 |
commit | e4687765d79bc07c1252743fe655f0c054ef9ead (patch) | |
tree | 2cc466a9c5b9f10a3a8ac1d8e253c9bcbc3fe5b2 /tvix/store | |
parent | b049b88d2d7bcb9caef158ffdf9cd931c62d2511 (diff) |
refactor(tvix/store): bump fastcdc dep r/5953
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 <tvl@lahfa.xyz> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store')
-rw-r--r-- | tvix/store/Cargo.toml | 2 | ||||
-rw-r--r-- | tvix/store/src/import.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/Cargo.toml b/tvix/store/Cargo.toml index 65d3420ab7d3..ac495b63b83d 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 564363f1ff1a..d2974d93c030 100644 --- a/tvix/store/src/import.rs +++ b/tvix/store/src/import.rs @@ -129,7 +129,7 @@ fn process_entry<BS: BlobService, CS: ChunkService + std::marker::Sync, DS: Dire let chunker_max_size = chunker_avg_size * 4; let chunker = fastcdc::v2020::StreamCDC::new( - Box::new(file), + file, chunker_min_size, chunker_avg_size, chunker_max_size, |