summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-04-17 06:45:32 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-04-17 07:33:50 -0300
commit653026d4f7e4240c7150e48170d737bf9c6ce3ea (patch)
tree9b7ed2ff209d2956eefc5dbe9f53264c39e7ce97
parent1ad120129a97848acdb6d1a5b305d2cd79742723 (diff)
downloadmullvadvpn-653026d4f7e4240c7150e48170d737bf9c6ce3ea.tar.xz
mullvadvpn-653026d4f7e4240c7150e48170d737bf9c6ce3ea.zip
Move `libc` dependency to all platforms
-rw-r--r--talpid-core/Cargo.toml5
1 files changed, 1 insertions, 4 deletions
diff --git a/talpid-core/Cargo.toml b/talpid-core/Cargo.toml
index ae07f0b8e9..addb9f61d7 100644
--- a/talpid-core/Cargo.toml
+++ b/talpid-core/Cargo.toml
@@ -11,6 +11,7 @@ error-chain = "0.11"
jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc", tag = "v8.0.1" }
jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc", tag = "v8.0.1" }
lazy_static = "1.0"
+libc = "0.2.20"
log = "0.4"
uuid = { version = "0.6", features = ["v4"] }
shell-escape = "0.1"
@@ -19,9 +20,6 @@ openvpn-plugin = { version = "0.3", features = ["serde"] }
talpid-ipc = { path = "../talpid-ipc" }
talpid-types = { path = "../talpid-types" }
-[target.'cfg(unix)'.dependencies]
-libc = "0.2.20"
-
[target.'cfg(target_os = "linux")'.dependencies]
notify = "4.0"
resolv-conf = { git = "https://github.com/tailhook/resolv-conf.git" }
@@ -33,5 +31,4 @@ core-foundation = "0.5"
tokio-core = "0.1"
[target.'cfg(windows)'.dependencies]
-libc = "0.2.20"
widestring = "0.3"