From 8ce1155a1eb490625a7e949a10c4283b4b773d30 Mon Sep 17 00:00:00 2001 From: Kim Altintop Date: Thu, 13 Apr 2023 16:50:24 +0200 Subject: core: replace bundle checksum with BLAKE3 BLAKE3 has a verified streaming mode (Bao), which allows variable chunk sizes without altering the root hash. This means that a BLAKE3 hash can serve as a long-term stable content address in location-independent storage (as demonstrated by iroh). Signed-off-by: Kim Altintop --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 4de6fdb..229e85b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,12 +16,15 @@ sha1dc = ["sha1collisiondetection"] anyhow.features = ["backtrace"] anyhow.version = "1" base64.version = "0.13" +blake3.version = "1.3.3" +blake3.features = ["traits-preview"] clap.features = ["derive", "env", "string", "wrap_help"] clap.version = "4.0" clap_complete.version = "4.0" clap_mangen.version = "0.2" console.default-features = false console.version = "0.15" +digest.version = "0.10" directories.version = "4.0" either.version = "1.8" erased-serde.version = "0.3" -- cgit v1.2.3