41 lines
711 B
TOML
41 lines
711 B
TOML
[package]
|
|
name = "niom-turn"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# async runtime and networking
|
|
tokio = { version = "1.39", features = ["full"] }
|
|
bytes = "1.4"
|
|
|
|
# crypto
|
|
hmac = "0.12"
|
|
sha1 = "0.10"
|
|
hex = "0.4"
|
|
|
|
# config and logging
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
|
|
|
|
# TLS for turns (server)
|
|
tokio-rustls = "0.23"
|
|
rustls = "0.21"
|
|
rcgen = "0.9"
|
|
rustls-pemfile = "1.0"
|
|
|
|
# small STUN helper
|
|
uuid = { version = "1", features = ["v4"] }
|
|
|
|
anyhow = "1.0"
|
|
async-trait = "0.1"
|
|
thiserror = "1.0"
|
|
crc32fast = "1.3"
|
|
md5 = "0.7"
|
|
|
|
[dev-dependencies]
|
|
mockall = "0.12"
|
|
tempfile = "3"
|
|
|