ts_link.rs, voice.rs, book.rs, ts_session/, versions.rs and identity.rs move under crates/voelin-core/src/ts (git mv, so git log --follow keeps their history). voelin_core::versions and voelin_core::identity are voelin_core::ts::versions and voelin_core::ts::identity now; the UI and voelinctl follow with the new paths. Nothing else changes: the module declarations, the use paths and the path of Versions.csv are the only edits to the moved files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
1.2 KiB
Rust
30 lines
1.2 KiB
Rust
//! The TeamSpeak implementation of the session seam.
|
|
//!
|
|
//! Everything of the engine that is TeamSpeak's lives here, so that it can
|
|
//! leave this crate for the TeamSpeak gateway (`voelin-gateway-ts` of
|
|
//! VoelinGateWay) as one piece (`docs/session-seam.md`, H9):
|
|
//!
|
|
//! - `ts_link.rs` and `voice.rs` are the connection of `tsclientlib`
|
|
//! (chat, voice, files, pokes, offline messages, the stream task's
|
|
//! requests) with `book.rs`, its presence from the library's book;
|
|
//! - `ts_session/` makes a `voelin_proto::link::Session` of such a connection
|
|
//! ([`TsConnector`] is the `Connector` the engine registers for
|
|
//! `ts3server://` and `teamspeak://`);
|
|
//! - [`versions`] and [`identity`] are what a TeamSpeak client has to know
|
|
//! about itself: the signed compatibility versions it can claim, and the
|
|
//! identities (reading, importing from the official clients, the security
|
|
//! level).
|
|
//!
|
|
//! The TeamSpeak crates' types (`tsclientlib::Identity`, `Version`, ...) are
|
|
//! named in the public items of this module and nowhere else of the crate's
|
|
//! API.
|
|
|
|
mod book;
|
|
pub mod identity;
|
|
mod ts_link;
|
|
pub(crate) mod ts_session;
|
|
pub mod versions;
|
|
mod voice;
|
|
|
|
pub use ts_link::TsLink;
|