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

@ -15,7 +15,7 @@ chrono = { version = "0.4.10", features = ["serde"] }
console = "0.9.1"
log = "0.4.8"
indicatif = "0.13.0"
reqwest = { version = "0.9.24", default-features = false }
reqwest = { version = "0.10.0", default-features = false, features = ["blocking"] }
serde_json = "1.0.44"
solana-clap-utils = { path = "../clap-utils", version = "0.23.0" }
solana-client = { path = "../client", version = "0.23.0" }

View File

@ -98,7 +98,7 @@ fn download_tar_bz2(
let progress_bar = new_spinner_progress_bar();
progress_bar.set_message(&format!("{}Downloading {}...", TRUCK, url));
let client = reqwest::Client::new();
let client = reqwest::blocking::Client::new();
let response = client
.get(url.as_str())
.send()