mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-06 04:00:02 +00:00
Update deps
This commit is contained in:
parent
8b4e77918c
commit
0f9b4de449
4 changed files with 341 additions and 472 deletions
|
@ -57,8 +57,8 @@ pub async fn fetch_crate_cratesio(name: &str, version_req: &str, temp_dir: &Path
|
|||
|
||||
// Fetch / update index
|
||||
debug!("Updating crates.io index");
|
||||
let index = crates_index::Index::new_cargo_default();
|
||||
index.retrieve_or_update()?;
|
||||
let mut index = crates_index::Index::new_cargo_default()?;
|
||||
index.update()?;
|
||||
|
||||
// Lookup crate in index
|
||||
debug!("Looking up crate information");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue