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

@ -41,6 +41,7 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
- `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

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")]