Update deps

This commit is contained in:
Félix Saparelli 2021-11-17 21:53:20 +13:00
parent 8b4e77918c
commit 0f9b4de449
4 changed files with 341 additions and 472 deletions

View file

@ -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");