blob: 1157ce54a3a77ca7f35d11f4c08e7cb4be3590a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
[package]
name = "talpid-tunnel"
description = "Library for creating tunnel devices and interfacing with various VPN tunnels"
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[features]
boringtun = ["dep:tun07"]
[dependencies]
thiserror = { workspace = true }
cfg-if = "1.0"
ipnetwork = { workspace = true }
talpid-routing = { path = "../talpid-routing" }
talpid-types = { path = "../talpid-types" }
futures = { workspace = true }
tokio = { workspace = true, features = ["process", "rt-multi-thread", "fs"] }
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
tun = { workspace = true } # use tun 0.5.5 for wireguard-go
[target.'cfg(target_os = "android")'.dependencies]
jnix = { version = "0.5.1", features = ["derive"] }
log = { workspace = true }
[target.'cfg(not(target_os = "android"))'.dependencies]
tun07 = { package = "tun", version = "0.7.11", optional = true, features = [
"async",
] }
[target.'cfg(windows)'.dependencies]
talpid-windows = { path = "../talpid-windows" }
[target.'cfg(windows)'.dependencies.windows-sys]
workspace = true
features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_NetworkManagement_Ndis",
]
|