remove `libc` dependency on windows (#33)

This commit is contained in:
JayceFayne 2020-10-03 22:21:03 +00:00 committed by GitHub
parent 5bb703a99c
commit 000f2fb0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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"] }