Engine with Command/Event API for the UI. One actor per server session merges three sources: - voice: tsclientlib connection, book -> Presence, chat, talking indicators, move/mute, audio packets - gateway: tsgw client (identity login, presence, relayed chat) - query: own ServerQuery credentials via tsc-observer (observer + relays) Presence authority voice > gateway > query; chat routing (voice for own channel/server/private, else gateway, else query) and cross-source dedup; stale source events are dropped by generation. Audio thread keeps cpal devices off the runtime: capture -> linear resample -> Opus (push-to-talk or VAD), incoming -> mixer -> playback. Live test (TSC_LIVE=1, part of the smoke script) covers voice, query presence and relay chat both ways on TS3 and TS6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
65 lines
1.5 KiB
TOML
65 lines
1.5 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
exclude = ["fuzz"]
|
|
members = [
|
|
"crates/proto/tsproto-types",
|
|
"crates/proto/tsproto-structs",
|
|
"crates/proto/tsproto-packets",
|
|
"crates/proto/tsproto",
|
|
"crates/proto/ts-bookkeeping",
|
|
"crates/proto/tsclientlib",
|
|
"crates/tsc-audio",
|
|
"crates/tsc-core",
|
|
"crates/tsc-gateway",
|
|
"crates/tsc-gateway-proto",
|
|
"crates/tsc-model",
|
|
"crates/tsc-observer",
|
|
"crates/tsc-query",
|
|
"crates/tsc-store",
|
|
"tools/tsctl",
|
|
]
|
|
default-members = [
|
|
"crates/proto/tsproto-types",
|
|
"crates/proto/tsproto-structs",
|
|
"crates/proto/tsproto-packets",
|
|
"crates/proto/tsproto",
|
|
"crates/proto/ts-bookkeeping",
|
|
"crates/proto/tsclientlib",
|
|
"crates/tsc-audio",
|
|
"crates/tsc-core",
|
|
"crates/tsc-gateway",
|
|
"crates/tsc-gateway-proto",
|
|
"crates/tsc-model",
|
|
"crates/tsc-observer",
|
|
"crates/tsc-query",
|
|
"crates/tsc-store",
|
|
"tools/tsctl",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
rust-version = "1.94"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/Faumaray/teamspeak_client_rs"
|
|
publish = false
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
|
|
[profile.dev.package.num-bigint]
|
|
# The Init1 puzzle does a large modular exponentiation on connect; unoptimized
|
|
# it takes seconds.
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
# Line tables (for backtraces) for workspace crates, no debug info for
|
|
# dependencies: keeps target/ several times smaller. Override locally for
|
|
# debugging with CARGO_PROFILE_DEV_DEBUG=true.
|
|
debug = "line-tables-only"
|
|
|
|
[profile.dev.package."*"]
|
|
debug = false
|