chore(dependencies): remove tower-util dev-dependency (#2603)
This commit is contained in:
@@ -66,8 +66,7 @@ tokio = { version = "1", features = [
|
|||||||
] }
|
] }
|
||||||
tokio-test = "0.4"
|
tokio-test = "0.4"
|
||||||
tokio-util = { version = "0.6", features = ["codec"] }
|
tokio-util = { version = "0.6", features = ["codec"] }
|
||||||
tower = { version = "0.4", features = ["make"] }
|
tower = { version = "0.4", features = ["make", "util"] }
|
||||||
tower-util = "0.3"
|
|
||||||
url = "2.2"
|
url = "2.2"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies]
|
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ use super::Client;
|
|||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn client_connect_uri_argument() {
|
async fn client_connect_uri_argument() {
|
||||||
let connector = tower_util::service_fn(|dst: http::Uri| {
|
let connector = tower::service_fn(|dst: http::Uri| {
|
||||||
assert_eq!(dst.scheme(), Some(&http::uri::Scheme::HTTP));
|
assert_eq!(dst.scheme(), Some(&http::uri::Scheme::HTTP));
|
||||||
assert_eq!(dst.host(), Some("example.local"));
|
assert_eq!(dst.host(), Some("example.local"));
|
||||||
assert_eq!(dst.port(), None);
|
assert_eq!(dst.port(), None);
|
||||||
|
|||||||
Reference in New Issue
Block a user