blob: f2e7a49ecaa26358bfcf649c097a07d2940a1c71 (
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
47
48
49
50
|
[package]
name = "talpid-routing"
description = "Library for managing routing tables"
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
thiserror = { workspace = true }
futures = { workspace = true }
ipnetwork = { workspace = true }
log = { workspace = true }
tokio = { workspace = true, features = ["process", "rt-multi-thread", "net", "io-util", "time"] }
talpid-types = { path = "../talpid-types" }
[target.'cfg(target_os = "android")'.dependencies]
jnix = { version = "0.5.2", features = ["derive"] }
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
rtnetlink = { workspace = true }
netlink-packet-core = { workspace = true }
netlink-packet-route = { workspace = true, features = ["rich_nlas"] }
netlink-sys = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
nix = { workspace = true, features = ["socket", "fs", "net"] }
libc = "0.2"
bitflags = "2"
system-configuration = "0.5.1"
[target.'cfg(windows)'.dependencies]
talpid-windows = { path = "../talpid-windows" }
widestring = { workspace = true }
[target.'cfg(windows)'.dependencies.windows-sys]
workspace = true
features = [
"Win32_NetworkManagement_Ndis",
"Win32_Globalization"
]
[dev-dependencies]
tokio = { workspace = true, features = [ "test-util" ] }
|