Bump reqwest from 0.9.24 to 0.10.0 (#7642)

* Bump reqwest from 0.9.24 to 0.10.0

Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.24 to 0.10.0.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Make reqwest::blocking specific

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
dependabot-preview[bot]
2020-01-08 13:31:43 -07:00
committed by Tyera Eulberg
parent 07855e3125
commit 57858b8015
18 changed files with 487 additions and 107 deletions

View File

@@ -22,7 +22,7 @@ indicatif = "0.13.0"
lazy_static = "1.4.0"
log = "0.4.8"
nix = "0.16.1"
reqwest = { version = "0.9.24", default-features = false, features = ["rustls-tls"] }
reqwest = { version = "0.10.0", default-features = false, features = ["blocking", "rustls-tls"] }
serde = "1.0.104"
serde_derive = "1.0.103"
serde_yaml = "0.8.11"

View File

@@ -79,7 +79,7 @@ fn download_to_temp_archive(
let temp_dir = TempDir::new(clap::crate_name!())?;
let temp_file = temp_dir.path().join("release.tar.bz2");
let client = reqwest::Client::new();
let client = reqwest::blocking::Client::new();
let progress_bar = new_spinner_progress_bar();
progress_bar.set_message(&format!("{}Downloading...", TRUCK));