File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,15 @@ net = [
5151 " mio/os-poll" ,
5252 " mio/os-ext" ,
5353 " mio/net" ,
54+ " socket2" ,
5455 " winapi/fileapi" ,
5556 " winapi/handleapi" ,
5657 " winapi/namedpipeapi" ,
5758 " winapi/winbase" ,
5859 " winapi/winnt" ,
5960 " winapi/minwindef" ,
6061 " winapi/accctrl" ,
61- " winapi/aclapi"
62+ " winapi/aclapi" ,
6263]
6364process = [
6465 " bytes" ,
@@ -118,7 +119,7 @@ num_cpus = { version = "1.8.0", optional = true }
118119parking_lot = { version = " 0.12.0" , optional = true }
119120
120121[target .'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))' .dependencies ]
121- socket2 = { version = " 0.4.4" , features = [ " all" ] }
122+ socket2 = { version = " 0.4.4" , optional = true , features = [ " all" ] }
122123
123124# Currently unstable. The API exposed by these features may be broken at any time.
124125# Requires `--cfg tokio_unstable` to enable.
You can’t perform that action at this time.
0 commit comments