- tsc-query: ServerQuery codec (escaping, rows, errors, notifications, command builder/parser), line client for raw TCP and SSH (russh) with events, flood-limit token bucket and keepalive, HTTP WebQuery client. - tsc-model: Presence (snapshot/delta/diff), ChannelInfo, ClientInfo, ChatMessage, relay formatting and message splitting. - tsc-observer: Observer (snapshot, events or polling, resync, reconnect) and RelayPool (one query session per channel, reads channel chat and posts as [Nick] text, unique nicknames, polite quit). - tsctl query/observe/relay; smoke test covers presence and relay on TS3 (raw) and TS6 (SSH). Dev servers enable all query interfaces with a fixed dev password. - docs: query clients are hidden by clients, not the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
25 lines
745 B
TOML
25 lines
745 B
TOML
[package]
|
|
name = "tsc-query"
|
|
version = "0.1.0"
|
|
description = "TeamSpeak ServerQuery client: raw TCP, SSH and HTTP WebQuery transports."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
reqwest = { version = "0.13.5", default-features = false, features = ["json", "query", "rustls"] }
|
|
russh = "0.63.3"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.151"
|
|
thiserror = "2.0.21"
|
|
tokio = { version = "1.53.1", features = ["net", "io-util", "sync", "time", "rt", "macros"] }
|
|
tracing = "0.1.44"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros", "test-util"] }
|