refactor(client): switch from net2 to socket2 (#2206)
net2 was recently deprecated; socket2 is the recommended alternative Closes #2205
This commit is contained in:
@@ -38,7 +38,7 @@ want = "0.3"
|
||||
|
||||
# Optional
|
||||
|
||||
net2 = { version = "0.2.32", optional = true }
|
||||
socket2 = { version = "0.3", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||
@@ -65,7 +65,7 @@ runtime = [
|
||||
"tokio/rt-core",
|
||||
]
|
||||
tcp = [
|
||||
"net2",
|
||||
"socket2",
|
||||
"tokio/blocking",
|
||||
"tokio/tcp",
|
||||
"tokio/time",
|
||||
|
||||
Reference in New Issue
Block a user