From cb5bd26569ba33ea0cf1b696a9f0da42687a9185 Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 4 May 2022 21:52:29 +0000 Subject: third_party/cachunker: init This is the BuzHash content-defined chunker extracted from Lennart Poettering's casync, almost verbatim, along with Rust bindings so we can actually use it safely. The bindings are a little bit constrained, since they don't support streaming use, unlike the code they are wrapping. This suffices for our use case: performance and correctness comparison to our native Rust implementation, which should behave identically and perform better. Change-Id: Iee4296f661b036620bafef5a6c6671fe1a750bb6 --- third_party/cachunker/Cargo.lock.license | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 third_party/cachunker/Cargo.lock.license (limited to 'third_party/cachunker/Cargo.lock.license') diff --git a/third_party/cachunker/Cargo.lock.license b/third_party/cachunker/Cargo.lock.license new file mode 100644 index 0000000..680d079 --- /dev/null +++ b/third_party/cachunker/Cargo.lock.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: edef +SPDX-License-Identifier: CC0-1.0 -- cgit 1.4.1