Skip to content

Commit e5f3230

Browse files
committed
Up minimum socket2 to 0.6.0
Now that hyper-util uses `socket2::Socket::set_tcp_nodelay`, which was added in [0.6.0]. It used to be called `socket2::Socket::set_nodelay` in [0.5.10]. [0.5.10]: https://docs.rs/socket2/0.5.10/socket2/struct.Socket.html#method.set_nodelay [0.6.0]: https://docs.rs/socket2/0.6.0/socket2/struct.Socket.html#method.set_tcp_nodelay
1 parent 4595a08 commit e5f3230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ipnet = { version = "2.9", optional = true }
2929
libc = { version = "0.2", optional = true }
3030
percent-encoding = { version = "2.3", optional = true }
3131
pin-project-lite = "0.2.4"
32-
socket2 = { version = ">=0.5.9, <0.7", optional = true, features = ["all"] }
32+
socket2 = { version = ">=0.6.0, <0.7", optional = true, features = ["all"] }
3333
tracing = { version = "0.1", default-features = false, features = ["std"], optional = true }
3434
tokio = { version = "1", optional = true, default-features = false }
3535
tower-layer = { version = "0.3", optional = true }

0 commit comments

Comments
 (0)