remove `libc` dependency on windows (#33)
This commit is contained in:
parent
5bb703a99c
commit
000f2fb0f5
|
@ -16,7 +16,6 @@ readme = "README.md"
|
|||
concurrent-queue = "1.2.2"
|
||||
fastrand = "1.3.5"
|
||||
futures-lite = "1.4.0"
|
||||
libc = "0.2.78"
|
||||
log = "0.4.11"
|
||||
nb-connect = "1.0.0"
|
||||
once_cell = "1.4.1"
|
||||
|
@ -25,6 +24,9 @@ polling = "2.0.0"
|
|||
vec-arena = "1.0.0"
|
||||
waker-fn = "1.1.0"
|
||||
|
||||
[target."cfg(unix)".dependencies]
|
||||
libc = "0.2.77"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3.9", features = ["winsock2"] }
|
||||
|
||||
|
|
Loading…
Reference in New Issue