diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-12-27 17:59:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 11:59:57 -0500 |
commit | c2414db1f68d27db8ca6f192f0ff877f1394164c (patch) | |
tree | 528da9796f400557204bfdb8e4d44d64173036ce /test_util/src/servers/registry.rs | |
parent | 33acd437f52b418a8413a302dd8902abad2eabec (diff) |
refactor: simplify hyper, http, h2 deps (#21715)
Main change is that:
- "hyper" has been renamed to "hyper_v014" to signal that it's legacy
- "hyper1" has been renamed to "hyper" and should be the default
Diffstat (limited to 'test_util/src/servers/registry.rs')
-rw-r--r-- | test_util/src/servers/registry.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test_util/src/servers/registry.rs b/test_util/src/servers/registry.rs index 3e0457253..50a9ac69f 100644 --- a/test_util/src/servers/registry.rs +++ b/test_util/src/servers/registry.rs @@ -7,10 +7,10 @@ use bytes::Bytes; use http_body_util::combinators::UnsyncBoxBody; use http_body_util::Empty; use http_body_util::Full; -use hyper1::body::Incoming; -use hyper1::Request; -use hyper1::Response; -use hyper1::StatusCode; +use hyper::body::Incoming; +use hyper::Request; +use hyper::Response; +use hyper::StatusCode; use serde_json::json; use std::convert::Infallible; use std::net::SocketAddr; |