chore(rust): update crypto, network and UniFFI dependencies

This commit is contained in:
zarzet committed 2026-09-17 02:59:14 +07:00
1 parent 6cd2c82790
commit 3e50dd75d6
17 files changed
+437 -281

No files matched your search

@@ -646,8 +646,12 @@ impl Backend {
// Reclaim only that namespace after a process restart, including when
// a complete file already exists but its finalizer still needs to run.
let staging_prefix = format!(
".spotiflac-download-{:x}-",
Sha256::digest(output.display().to_lowercase().as_bytes())
".spotiflac-download-{}-",
crate::binary::encode(
&Sha256::digest(output.display().to_lowercase().as_bytes()),
"hex"
)
.expect("hex encoding")
);
if directory.exists() {
for entry in directory.read_dir().map_err(|error| error.to_string())? {