[package]
name = "easyremote-server"
version.workspace = true
edition.workspace = true

[[bin]]
name = "easyremote-server"
path = "src/main.rs"

[dependencies]
easyremote-common = { path = "../common" }

# Async
tokio = { workspace = true }
tokio-util = { workspace = true }
futures = { workspace = true }
async-trait = { workspace = true }

# Web
axum = { workspace = true }
tower = { workspace = true }
tower-http = { workspace = true }

# Database
sqlx = { workspace = true }

# Auth
jsonwebtoken = { workspace = true }
argon2 = { workspace = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
uuid = { workspace = true }

# Networking
quinn = { workspace = true }
rustls = { workspace = true }
rcgen = { workspace = true }
stun = { workspace = true }

# Logging
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

# Utils
chrono = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
rand = { workspace = true }
base64 = { workspace = true }
bytes = { workspace = true }
config = { workspace = true }
dotenvy = { workspace = true }
hex = "0.4"