tokio-xmpp: Document TlsStream type behind 'ktls' feature

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-10-21 23:21:58 +02:00
commit db0ce5859b
2 changed files with 2 additions and 0 deletions

View file

@ -36,6 +36,7 @@ use {
pub use tokio_rustls::client::TlsStream;
#[cfg(all(feature = "ktls", not(feature = "native-tls")))]
/// Tls Stream type based on Ktls
pub type TlsStream<S> = ktls::KtlsStream<S>;
#[cfg(feature = "native-tls")]