forked from NordSecurity/libtelio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
165 lines (149 loc) · 4.74 KB
/
Cargo.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[package]
name = "telio"
version = "4.0.5"
authors = ["[email protected]"]
edition = "2018"
license = "GPL-3.0-only"
repository = "https://github.com/NordSecurity/libtelio"
[package.metadata.cargo-udeps.ignore]
# Ignore wasm-bindgen dependency on gitlab cargo-lint-udeps
normal = ["wasm-bindgen"]
[lib]
crate-type = ["staticlib", "cdylib", "lib"]
[features]
pretend_to_be_macos = ["telio-model/pretend_to_be_macos"]
[dependencies]
cfg-if = "1.0.0"
ffi_helpers = "0.3.0"
num_cpus = "1.15.0"
wasm-bindgen = "=0.2.83" # Only for compatability with moose wasm version
anyhow.workspace = true
async-trait.workspace = true
base64.workspace = true
crypto_box.workspace = true
futures.workspace = true
ipnetwork.workspace = true
lazy_static.workspace = true
libc.workspace = true
log.workspace = true
modifier.workspace = true
parking_lot.workspace = true
serde.workspace = true
serde_with.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["full"] }
tracing.workspace = true
uuid.workspace = true
telio-crypto.workspace = true
telio-dns.workspace = true
telio-firewall.workspace = true
telio-lana.workspace = true
telio-model.workspace = true
telio-nat-detect.workspace = true
telio-nurse.workspace = true
telio-proto.workspace = true
telio-proxy.workspace = true
telio-relay.workspace = true
telio-sockets.workspace = true
telio-task.workspace = true
telio-traversal.workspace = true
telio-utils.workspace = true
telio-wg.workspace = true
[dev-dependencies]
slog-async = "2.7"
slog-term = "2.8"
mockall.workspace = true
ntest.workspace = true
pretty_assertions.workspace = true
tokio = { workspace = true, features = ["test-util"] }
telio-dns = { workspace = true, features = ["mockall"] }
telio-firewall = { workspace = true, features = ["mockall"] }
telio-proxy = { workspace = true, features = ["mockall"] }
telio-test.workspace = true
telio-traversal = { workspace = true, features = ["mockall"] }
telio-wg = { workspace = true, features = ["mockall", "test-adapter"] }
[build-dependencies]
anyhow.workspace = true
cc.workspace = true
[target.'cfg(windows)'.dependencies]
winapi = { workspace = true, features = ["ntdef", "winerror"] }
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[workspace]
resolver = "2"
members = [
"crates/*",
"clis/*",
]
exclude = [
"wireguard-go-rust-wrapper"
]
[workspace.dependencies]
anyhow = "1"
async-trait = "0.1.51"
base64 = "0.13.0"
bytes = "1"
cc = "1.0"
clap = { version = "3.1", features = ["derive"] }
crypto_box = { version = "0.8.2", features = ["std"] }
env_logger = "0.9.0"
futures = "0.3"
hashlink = "0.8.3"
hex = "0.4.3"
httparse = "1.8.0"
ipnet = "2.3"
ipnetwork = "0.18"
itertools = "0.10"
lazy_static = "1.4.0"
libc = "0.2.112"
log = {version = "0.4.14", features = ["release_max_level_debug"]}
maplit = "1"
mockall = "0.11.3"
modifier = "0.1.0"
nat-detect = "0.1.7"
ntest = "0.7"
num_enum = "0.6.1"
once_cell = "1"
parking_lot = "0.12"
pnet_packet = "0.28.0"
pretty_assertions = "0.7.2"
proptest = "1.2.0"
proptest-derive = "0.3.0"
protobuf-codegen-pure = "2"
rand = "0.8"
rstest = "0.11.0"
rupnp = "1.1.0"
rustc-hash = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_with = "1.10"
sha2 = "0.10.6"
slog = "2.7"
sn_fake_clock = "0.4"
strum = { version = "0.24.0", features = ["derive"] }
surge-ping = { version = "0.8.0" }
thiserror = "1.0"
time = { version = "0.3.9", features = ["formatting"] }
tokio = ">=1.22"
tracing = { version = "0.1.37", features = ["release_max_level_debug"] }
url = "2.2.2"
uuid = { version = "1.1.2", features = ["v4"] }
winapi = { version = "0.3", features = ["netioapi", "ws2def"] }
boringtun = { git = "https://github.com/NordSecurity/boringtun.git", tag = "v1.1.1" }
telio-crypto = { version = "0.1.0", path = "./crates/telio-crypto" }
telio-dns = { version = "0.1.0", path = "./crates/telio-dns" }
telio-firewall = { version = "0.1.0", path = "./crates/telio-firewall" }
telio-lana = { version = "0.1.0", path = "./crates/telio-lana" }
telio-model = { version = "0.1.0", path = "./crates/telio-model" }
telio-nat-detect = { version = "0.1.0", path = "./crates/telio-nat-detect" }
telio-nurse = { version = "0.1.0", path = "./crates/telio-nurse" }
telio-proto = { version = "0.1.0", path = "./crates/telio-proto" }
telio-proxy = { version = "0.1.0", path = "./crates/telio-proxy" }
telio-relay = { version = "0.1.0", path = "./crates/telio-relay" }
telio-sockets = { version = "0.1.0", path = "./crates/telio-sockets" }
telio-task = { version = "0.1.0", path = "./crates/telio-task" }
telio-test = { version = "1.0.0", path = "./crates/telio-test" }
telio-traversal = { version = "0.1.0", path = "./crates/telio-traversal" }
telio-utils = { version = "0.1.0", path = "./crates/telio-utils" }
telio-wg = { version = "0.1.0", path = "./crates/telio-wg" }