-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (38 loc) · 993 Bytes
/
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
[package]
name = "wg-turn"
version = "1.1.2"
edition = "2021"
[dependencies]
futures = "0.3.8"
anyhow = "1.0"
stun-client = "0.1.4"
wireguard-uapi = "3.0.0"
datetime = "0.5.2"
socket2 = "0.5.5"
# btdht = { git = "https://github.com/equalitie/btdht.git", rev = "5287b4a2bc507cde87903bc30ca2f1c548a31e18" }
btdht = { git = "https://github.com/equalitie/btdht.git"}
tokio = { version = "1.32", default_features = false, features = [
"macros",
"net",
"rt",
"rt-multi-thread",
"sync",
"time",
"signal",
] }
rand = { version = "0.8.5", features = ["small_rng"] }
concat-arrays = "0.1.2"
async-trait = "0.1.73"
base64 = "0.22.0"
# serde = "1.0.197"
serde = "1.0.180"
serde_bencode = "0.2.4"
crypto_box = { version = "0.9.1" , features = ["chacha20"] }
generic-array = { version = "0.14.7", features = ["serde"] }
blake3 = { version = "1.5.1", features = ["serde"] }
[profile.release]
strip = true
opt-level = "s" #z or s
lto = true
codegen-units = 1
panic = "abort"