From db0ce5859b1dfaee805361f87b9a7b24725e4172 Mon Sep 17 00:00:00 2001 From: pep Date: Tue, 21 Oct 2025 23:21:58 +0200 Subject: [PATCH] tokio-xmpp: Document TlsStream type behind 'ktls' feature Signed-off-by: pep --- tokio-xmpp/ChangeLog | 1 + tokio-xmpp/src/connect/tls_common.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/tokio-xmpp/ChangeLog b/tokio-xmpp/ChangeLog index 5d3675e38ff429ee9fbb65e47ee585c6d3c3628d..516c24a1c1dc497a84ba6e13be783e7a6176b2c7 100644 --- a/tokio-xmpp/ChangeLog +++ b/tokio-xmpp/ChangeLog @@ -41,6 +41,7 @@ XXXX-YY-ZZ RELEASER - `rustls` is now re-exported if it is enabled, to allow applications to set the default crypto provider if needed. (!581) - Derive Debug on Client and associated structs + - Document TlsStream behind 'ktls' feature * Changes: - On Linux, once the TLS session is established, we can delegate the actual encryption and decryption to the kernel, which in turn can diff --git a/tokio-xmpp/src/connect/tls_common.rs b/tokio-xmpp/src/connect/tls_common.rs index 92cfb466f68fdd1f99539758a68f3ba228619cc7..e5dead169eeb5790ab68674a3477e9be4935e2d3 100644 --- a/tokio-xmpp/src/connect/tls_common.rs +++ b/tokio-xmpp/src/connect/tls_common.rs @@ -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 = ktls::KtlsStream; #[cfg(feature = "native-tls")]