Bump url from 1.7.2 to 2.0.0 (#5247)

* Bump url from 1.7.2 to 2.0.0

Bumps [url](https://github.com/servo/rust-url) from 1.7.2 to 2.0.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v1.7.2...v2.0.0)

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

* Adapt to url 2.0.0
This commit is contained in:
dependabot-preview[bot]
2019-07-26 21:46:38 -07:00
committed by Michael Vines
parent 252257fe66
commit b59a99111c
5 changed files with 35 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ solana-logger = { path = "../logger", version = "0.17.0" }
solana-sdk = { path = "../sdk", version = "0.17.0" }
tar = "0.4.26"
tempdir = "0.3.7"
url = "1.7.2"
url = "2.0.0"
[target."cfg(windows)".dependencies]
winapi = "0.3.7"

View File

@@ -78,7 +78,7 @@ fn download_to_temp_archive(
let progress_bar = new_spinner_progress_bar();
progress_bar.set_message(&format!("{}Downloading...", TRUCK));
let response = client.get(url).send()?;
let response = client.get(url.as_str()).send()?;
let download_size = {
response
.headers()