Skip to content

Commit d5cbc14

Browse files
committed
Add socket2 on android
1 parent c3b7dc8 commit d5cbc14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

talpid-wireguard/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ tokio = { workspace = true, features = ["process", "rt-multi-thread", "fs"] }
2929
tunnel-obfuscation = { path = "../tunnel-obfuscation" }
3030
rand = "0.8.5"
3131
surge-ping = "0.8.0"
32+
socket2 = { version = "0.5.3", features = ["all"] }
3233

3334
[target.'cfg(target_os="android")'.dependencies]
3435
duct = "0.13"
3536

3637
[target.'cfg(not(target_os="android"))'.dependencies]
3738
byteorder = "1"
3839
internet-checksum = "0.2"
39-
socket2 = { version = "0.5.3", features = ["all"] }
40+
4041

4142
[target.'cfg(unix)'.dependencies]
4243
nix = "0.23"

0 commit comments

Comments
 (0)