- tsc-gateway-proto: versioned JSON envelope (tsgw.v1+json), client and server messages, identity-challenge auth (ECDSA P-256 over a signed challenge), unique ids for TS3 (SHA-1) and TS6 (SHA-256, verified on 6.0.0-beta13.1), hash-cash level. - tsc-gateway (tsgw): axum WebSocket server; hub with one observer, a relay pool and a lookup query session; login by signature or token; permission mirroring via permoverview (server group/client/channel group/channel-client levels, skip and negate); per-user filtered presence (snapshot + diff deltas); channel/server chat relay with server-known nicknames, rate limit, idle relay teardown, pinned channels; SQLite tokens, history and audit; Dockerfile; admin guide. - tsctl gateway client; smoke test covers gateway presence, chat both ways and refusal of unknown identities on TS3 and TS6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
name = "tsctl"
|
|
version = "0.1.0"
|
|
description = "Headless command-line client for TeamSpeak 3/6 servers, used for development and integration tests."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
dirs = "6"
|
|
futures = "0.3"
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["io-std", "io-util", "macros", "rt-multi-thread", "signal", "time"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tsclientlib = { path = "../../crates/proto/tsclientlib" }
|
|
tsproto-packets = { path = "../../crates/proto/tsproto-packets" }
|
|
tsc-model = { path = "../../crates/tsc-model" }
|
|
tsc-query = { path = "../../crates/tsc-query" }
|
|
tsc-observer = { path = "../../crates/tsc-observer" }
|
|
tsc-audio = { path = "../../crates/tsc-audio", default-features = false }
|
|
tokio-tungstenite = "0.30"
|
|
futures-util = "0.3.34"
|
|
tsc-gateway-proto = { path = "../../crates/tsc-gateway-proto" }
|
|
|
|
[lints]
|
|
workspace = true
|