13 releases

0.3.2 Jan 14, 2022
0.3.1 May 11, 2021
0.3.0 Sep 22, 2020
0.2.3 Jun 8, 2020
0.1.2 Nov 14, 2019

#1 in #ts3

28 downloads per month

MIT/Apache

83KB
1.5K SLoC

Ts3 Query Library

crates.io docs.rs Build Status

Very barebone lib to connect to ts3 query interfaces and issue commands.

For examples visit the docs.

A lot of command-functions are currently not implemented, feel free to open issues or PRs adding them. (You can use the raw_command method along with its helpers to issue not implemented commands.) Any callback functionality for server events is also missing[1].

[1] Server events are very unreliable as teamspeak likes to disconnect without any notice and thus events require you to regularly check the connection health. But if you're already performing connections checks (by issuing commands) frequent enough to not miss out on changes on disconnect, you might as well switch to a polling approach and instead use the connection-check and retrieve the relevant data you need to handle "events". Furthermore server events require you to run a background task which reads incoming data and differentiate between events and issued commands while holding one reader, which is not a barebone library.

Dependencies

~1.2–2MB
~45K SLoC