From c2414db1f68d27db8ca6f192f0ff877f1394164c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 27 Dec 2023 17:59:57 +0100 Subject: 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 --- test_util/src/servers/registry.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test_util/src/servers/registry.rs') 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; -- cgit v1.2.3