diff --git a/Cargo.toml b/Cargo.toml index dffb2ed..e533c0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ chrono = {version = "0.4.19", features = ["serde"]} futures = {version = "0.3", default-features = false} http = {version = "0.2", default-features = false} http-endpoint = "0.5" -hyper = {version = "0.14", features = ["client", "http1", "stream"]} +hyper = {version = "1.0", features = ["client", "http1"]} hyper-tls = {version = "0.5", default-features = false} num-decimal = {version = "0.2.4", default-features = false, features = ["num-v04", "serde"]} serde = {version = "1.0.103", features = ["derive"]} diff --git a/src/client.rs b/src/client.rs index d81254b..83e1689 100644 --- a/src/client.rs +++ b/src/client.rs @@ -17,9 +17,9 @@ use http_endpoint::Endpoint; use hyper::body::Bytes; use hyper::body::HttpBody as _; +use hyper::body::Incoming as Body; use hyper::client::Builder as HttpClientBuilder; use hyper::client::HttpConnector; -use hyper::Body; use hyper::Client as HttpClient; use hyper::Error as HyperError; use hyper_tls::HttpsConnector;