Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Merge a74ef19 into 88c0e52
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-preview[bot] committed Jan 4, 2020
2 parents 88c0e52 + a74ef19 commit d95b9c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ nom = "4.2"
serde = { version = "1.0", optional = true }
java-properties = "1.2"
memchr = "2.2"
reqwest = { version = "0.9", optional = true }
reqwest = { version = "0.10", optional = true, features = [ "blocking" ] }
failure = "0.1"
uuid = { version = "0.8", features = [ "v4" ] }

Expand Down
4 changes: 2 additions & 2 deletions src/loader_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ impl HoconLoaderConfig {
.into())
}
} else if self.external_url {
let body = reqwest::get(parsed_url)
.and_then(|mut r| r.text())
let body = reqwest::blocking::get(parsed_url)
.and_then(reqwest::blocking::Response::text)
.map_err(|_| crate::Error::Include {
path: String::from(url),
})?;
Expand Down

0 comments on commit d95b9c5

Please sign in to comment.