mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
chore(deps) Update Rust crate blake3 to v1 (#2305)
* 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>
This commit is contained in:
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user