about summary refs log tree commit diff
path: root/tvix/store/src/import.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-10T15·18+0100
committerclbot <clbot@tvl.fyi>2023-03-11T14·12+0000
commite4687765d79bc07c1252743fe655f0c054ef9ead (patch)
tree2cc466a9c5b9f10a3a8ac1d8e253c9bcbc3fe5b2 /tvix/store/src/import.rs
parentb049b88d2d7bcb9caef158ffdf9cd931c62d2511 (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/src/import.rs')
-rw-r--r--tvix/store/src/import.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/import.rs b/tvix/store/src/import.rs
index 564363f1ff..d2974d93c0 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,