* chore(deps) Update Rust crate blake3 to v1 * fix build Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
@@ -12,7 +12,7 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ]
readme = "README.md"
[dependencies]
-blake3 = { version = "0.3", features = [ "rayon" ] }
+blake3 = { version = "1.0", features = [ "rayon" ] }
proc-macro2 = "1"
quote = "1"
serde = { version = "1", features = [ "derive" ] }
@@ -246,7 +246,7 @@ impl EmbeddedAssets {
if input.len() < MULTI_HASH_SIZE_LIMIT {
hasher.update(&input);
} else {
- hasher.update_with_join::<blake3::join::RayonJoin>(&input);
+ hasher.update_rayon(&input);
}
hasher.finalize().to_hex()
};