net/transport/tcp: Restore usage of socket2 to create TCP sockets.

This commit is contained in:
parazyd
2023-08-25 20:40:24 +02:00
parent 44b8cd022a
commit 33631ab318
4 changed files with 88 additions and 17 deletions

13
Cargo.lock generated
View File

@@ -383,7 +383,7 @@ dependencies = [
"polling",
"rustix 0.37.23",
"slab",
"socket2",
"socket2 0.4.9",
"waker-fn",
]
@@ -1434,6 +1434,7 @@ dependencies = [
"sled",
"sled-overlay",
"smol",
"socket2 0.5.3",
"structopt",
"structopt-toml",
"thiserror",
@@ -5161,6 +5162,16 @@ dependencies = [
"winapi",
]
[[package]]
name = "socket2"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877"
dependencies = [
"libc",
"windows-sys 0.48.0",
]
[[package]]
name = "spin"
version = "0.5.2"