mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-07 11:16:37 +00:00
Rename flock to fs-lock (#338)
This commit is contained in:
parent
3387a63895
commit
a628cbf876
11 changed files with 16 additions and 16 deletions
|
@ -143,7 +143,7 @@ impl super::Fetcher for GhCrateMeta {
|
|||
}
|
||||
|
||||
async fn fetch_and_extract(&self, dst: &Path) -> Result<(), BinstallError> {
|
||||
let (url, pkg_fmt) = self.resolution.get().unwrap(); // find() is called first
|
||||
let (url, _pkg_fmt) = self.resolution.get().unwrap(); // find() is called first
|
||||
debug!("Downloading package from: '{url}'");
|
||||
Download::new(self.client.clone(), url.clone())
|
||||
.and_extract(self.pkg_fmt(), dst)
|
||||
|
|
|
@ -14,7 +14,7 @@ use std::{
|
|||
path::{Path, PathBuf},
|
||||
};
|
||||
|
||||
use flock::FileLock;
|
||||
use fs_lock::FileLock;
|
||||
use miette::Diagnostic;
|
||||
use serde::Serialize;
|
||||
use thiserror::Error;
|
||||
|
|
|
@ -16,7 +16,7 @@ use std::{
|
|||
};
|
||||
|
||||
use compact_str::CompactString;
|
||||
use flock::FileLock;
|
||||
use fs_lock::FileLock;
|
||||
use miette::Diagnostic;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue