The hub, observer, relays and sessions now run in tests against a fake raw ServerQuery server, driven over a real WebSocket by the typed client: chat with pins, reactions and topics (including the prefix in TeamSpeak and topic posts from official clients), old clients still getting chat_event, unknown message types answered without a disconnect, events with RSVP and reminders, the stream directory following presence and linking stream events, the activity feed, and admin settings, permission rules, quotas and rate limits applied live. An ignored test runs the same flows against a real server and tsgw. The relay pump subscribed to a rebuilt pool 100 ms after the old one closed, so channel chat in that gap was lost after a nickname change. Each pool now gets its own pump, subscribed before it opens a relay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[package]
|
|
name = "voelin-gateway"
|
|
version = "0.1.0"
|
|
description = "tsgw: companion gateway giving app users invisible presence and channel chat over ServerQuery."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[[bin]]
|
|
name = "tsgw"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.104"
|
|
axum = { version = "0.8.9", features = ["ws"] }
|
|
base64 = "0.22"
|
|
clap = { version = "4.6.7", features = ["derive", "env"] }
|
|
futures = "0.3.34"
|
|
rand = "0.10.3"
|
|
rusqlite = { version = "0.40.2", features = ["bundled"] }
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.151"
|
|
sha2 = "0.10"
|
|
thiserror = "2.0.21"
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
toml = "1.1.6"
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
|
voelin-gateway-proto = { path = "../voelin-gateway-proto" }
|
|
voelin-model = { path = "../voelin-model" }
|
|
voelin-observer = { path = "../voelin-observer" }
|
|
voelin-query = { path = "../voelin-query" }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
futures-util = "0.3.34"
|
|
tokio-tungstenite = "0.30.0"
|
|
tsproto-types = { path = "../proto/tsproto-types" }
|
|
# The typed client drives the in-process and live tests.
|
|
voelin-gateway-proto = { path = "../voelin-gateway-proto", features = ["client"] }
|