summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2023-08-01 16:55:35 +0200
committerLinus Färnstrand <linus@mullvad.net>2023-08-02 09:57:27 +0200
commit129f64f3aae5eb2d3ee110e8cef01ab2c4548111 (patch)
tree664230305bd4d0072178e502ef5309c165748150
parentfc0506e0d9dbb116117ec5e4c7244d3dcc10892e (diff)
downloadmullvadvpn-129f64f3aae5eb2d3ee110e8cef01ab2c4548111.tar.xz
mullvadvpn-129f64f3aae5eb2d3ee110e8cef01ab2c4548111.zip
Move nix dependency to Linux specific dependency section in talpid-core
-rw-r--r--talpid-core/Cargo.toml4
1 files changed, 1 insertions, 3 deletions
diff --git a/talpid-core/Cargo.toml b/talpid-core/Cargo.toml
index 224ffd222e..6cd6aae1f4 100644
--- a/talpid-core/Cargo.toml
+++ b/talpid-core/Cargo.toml
@@ -33,13 +33,11 @@ rand = "0.8.5"
talpid-openvpn = { path = "../talpid-openvpn" }
triggered = "0.1.1"
-[target.'cfg(unix)'.dependencies]
-nix = "0.23"
-
[target.'cfg(target_os = "android")'.dependencies]
jnix = { version = "0.5", features = ["derive"] }
[target.'cfg(target_os = "linux")'.dependencies]
+nix = "0.23"
inotify = "0.10"
resolv-conf = "0.7"
nftnl = { version = "0.6.2", features = ["nftnl-1-1-0"] }