-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathCargo.toml
66 lines (61 loc) · 1.38 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
[package]
name = "turn-server"
version = "3.4.0-beta.2"
edition = "2024"
authors = ["mycrl <[email protected]>"]
description = "A pure rust-implemented turn server."
readme = "./README.md"
homepage = "https://github.com/mycrl/turn-rs"
repository = "https://github.com/mycrl/turn-rs"
license = "GPL-2.0-or-later"
keywords = ["stun", "webrtc", "turn", "turn-server"]
categories = ["parsing", "network-programming"]
[dependencies]
ahash = "0.8"
anyhow = "1.0"
axum = "0.7"
bytes = "1"
base64 = "0.22"
clap = { version = "4", features = ["derive"] }
log = "0.4"
mimalloc = { version = "0.1", default-features = false }
parking_lot = "0.12"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
simple_logger = "5"
tokio = { version = "1", features = ["full"] }
toml = "0.7"
rand = "0.8"
itertools = "0.13.0"
prometheus = "0.13.4"
num_enum = "0.7"
md-5 = "0.10"
hmac = "0.12"
sha-1 = "0.10"
crc = "3"
thiserror = "2.0.4"
tokio-stream = { version = "0.1", features = ["sync"] }
[dev-dependencies]
criterion = "0.5"
anyhow = "1.0"
base64 = "0.22.1"
tokio = { version = "1", features = ["full"] }
bytes = "1.4.0"
rand = "0.8.5"
[[bench]]
name = "benchmark"
harness = false
[features]
default = ["udp"]
udp = []
tcp = []
api = []
prometheus = ["api"]
[profile.release]
debug-assertions = false
overflow-checks = false
strip = "debuginfo"
panic = "abort"
debug = false
lto = true
codegen-units = 1