refactor: switch to tsclientlib for TeamSpeak protocol

- Replace custom Session/SessionHandle with tsclientlib SyncConnection
- SyncConnection runs in background task, forwards events via mpsc
- iced subscription reads events from mpsc channel
- SendChannelMessage sends via SyncConnectionHandle::with_connection
- Disconnect sends DisconnectOptions via handle
- State refresh reads data::Connection (clients, channels, server)
- Keep tscore QueryClient for ServerQuery panel
- Add tsclientlib as path dependency (from refercence/)
- CI checkout with submodules: recursive for tsdeclarations
- 69 tests passing, clippy clean
This commit is contained in:
ReTeamSpeak
2026-05-12 22:10:45 +09:00
parent dce2f90544
commit 55c9b9fec8
4 changed files with 428 additions and 196 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ path = "src/main.rs"
[dependencies]
iced = { version = "0.13", features = ["tokio", "debug"] }
tokio = { workspace = true }
futures = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
@@ -20,8 +21,9 @@ chrono = { workspace = true }
shared = { workspace = true }
tscore = { workspace = true }
tsaudio = { workspace = true }
tsdb = { workspace = true }
tsclientlib = { workspace = true }
tsproto-packets = { workspace = true }
[features]
default = []