Skip to content

Commit

Permalink
chore(dependencies): remove tower-util dev-dependency (hyperium#2603)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar authored Jul 30, 2021
1 parent 6393a0c commit 54b57c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ tokio = { version = "1", features = [
] }
tokio-test = "0.4"
tokio-util = { version = "0.6", features = ["codec"] }
tower = { version = "0.4", features = ["make"] }
tower-util = "0.3"
tower = { version = "0.4", features = ["make", "util"] }
url = "2.2"

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/client/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use super::Client;

#[tokio::test]
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.host(), Some("example.local"));
assert_eq!(dst.port(), None);
Expand Down

0 comments on commit 54b57c4

Please sign in to comment.