mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Update deps
This commit is contained in:
parent
8b4e77918c
commit
0f9b4de449
4 changed files with 341 additions and 472 deletions
769
Cargo.lock
generated
769
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
36
Cargo.toml
36
Cargo.toml
|
@ -19,28 +19,28 @@ pkg-fmt = "zip"
|
|||
pkg-fmt = "zip"
|
||||
|
||||
[dependencies]
|
||||
crates_io_api = "0.7.0"
|
||||
cargo_metadata = "0.12.2"
|
||||
tinytemplate = "1.2.0"
|
||||
tokio = { version = "1.4.0", features = [ "full" ] }
|
||||
crates_io_api = "0.7.3"
|
||||
cargo_metadata = "0.14.1"
|
||||
tinytemplate = "1.2.1"
|
||||
tokio = { version = "1.14.0", features = [ "full" ] }
|
||||
log = "0.4.14"
|
||||
structopt = "0.3.21"
|
||||
simplelog = "0.9.0"
|
||||
structopt = "0.3.25"
|
||||
simplelog = "0.11.0"
|
||||
anyhow = "1.0.40"
|
||||
reqwest = { version = "0.11.2", features = [ "rustls-tls" ], default-features = false }
|
||||
reqwest = { version = "0.11.6", features = [ "rustls-tls" ], default-features = false }
|
||||
tempdir = "0.3.7"
|
||||
flate2 = "1.0.14"
|
||||
tar = "0.4.30"
|
||||
cargo_toml = "0.8.1"
|
||||
serde = { version = "1.0.119", features = [ "derive" ] }
|
||||
strum_macros = "0.20.1"
|
||||
strum = "0.20.0"
|
||||
dirs = "3.0.1"
|
||||
flate2 = "1.0.22"
|
||||
tar = "0.4.37"
|
||||
cargo_toml = "0.10.1"
|
||||
serde = { version = "1.0.130", features = [ "derive" ] }
|
||||
strum_macros = "0.23.0"
|
||||
strum = "0.23.0"
|
||||
dirs = "4.0.0"
|
||||
serde_derive = "1.0.118"
|
||||
crates-index = "0.16.2"
|
||||
semver = "0.11.0"
|
||||
crates-index = "0.18.1"
|
||||
semver = "1.0.4"
|
||||
xz2 = "0.1.6"
|
||||
zip = "0.5.11"
|
||||
zip = "0.5.13"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.8.2"
|
||||
env_logger = "0.9.0"
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use std::path::{PathBuf};
|
||||
|
||||
use log::{debug, info, warn, error, LevelFilter};
|
||||
use simplelog::{TermLogger, ConfigBuilder, TerminalMode};
|
||||
use simplelog::{TermLogger, ConfigBuilder, TerminalMode, ColorChoice};
|
||||
|
||||
use structopt::StructOpt;
|
||||
|
||||
|
@ -78,7 +78,7 @@ async fn main() -> Result<(), anyhow::Error> {
|
|||
log_config.add_filter_ignore("hyper".to_string());
|
||||
log_config.add_filter_ignore("reqwest".to_string());
|
||||
log_config.set_location_level(LevelFilter::Off);
|
||||
TermLogger::init(opts.log_level, log_config.build(), TerminalMode::Mixed).unwrap();
|
||||
TermLogger::init(opts.log_level, log_config.build(), TerminalMode::Mixed, ColorChoice::Auto).unwrap();
|
||||
|
||||
// Create a temporary directory for downloads etc.
|
||||
let temp_dir = TempDir::new("cargo-binstall")?;
|
||||
|
|
Loading…
Add table
Reference in a new issue