mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-09 01:21:32 +02:00
chore(rust): update crypto, network and UniFFI dependencies
This commit is contained in:
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())? {
|
||||
|
||||
Reference in new issue
Block a user