10000 Merge pull request #266 from redsift/dependabot/cargo/hyper-0.14.2 · foniod/foniod@4135879 · GitHub
[go: up one dir, main page]

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

Commit

Permalink
Merge pull request #266 from redsift/dependabot/cargo/hyper-0.14.2
Browse files Browse the repository at this point in the history
build(deps): bump hyper from 0.13.9 to 0.14.2
  • Loading branch information
rsdy authored Jan 8, 2021
2 parents c86cba0 + 6a23387 commit 4135879
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 114 deletions.
138 changes: 27 additions & 111 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ chrono = "0.4"
ingraind-probes = { path = "ingraind-probes" }

[dependencies.hyper]
version = "0.13"
version = "0.14"
optional = true

[dependencies.hyper-rustls]
version = "0.21"
version = "0.22"
features = ["webpki-roots"]
optional = true

[dependencies.cadence]
Expand Down
2 changes: 1 addition & 1 deletion src/backends/http.rs
Original file line number Diff line number Diff line change
5B07 Expand Up @@ -31,7 +31,7 @@ impl HTTP {
pub fn new(config: HTTPConfig) -> HTTP {
let client = Client::builder()
.pool_max_idle_per_host(0)
.build(HttpsConnector::new());
.build(HttpsConnector::with_webpki_roots());
let uri = config.uri.parse().unwrap();

let headers = {
Expand Down

0 comments on commit 4135879

Please sign in to comment.
0