From 3cbc7ffacd2a8a57763e20c1ad5790b816d9c278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Tue, 28 Dec 2021 16:38:52 +0100 Subject: [PATCH] Publish the starttls helper function Without it, it seems impossible to start TLS on an XMPPStream object, preventing any use of that object on its own (not wrapped into AsyncClient or somesuch). --- tokio-xmpp/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio-xmpp/src/lib.rs b/tokio-xmpp/src/lib.rs index 02c02aa4..05cfc555 100644 --- a/tokio-xmpp/src/lib.rs +++ b/tokio-xmpp/src/lib.rs @@ -17,3 +17,4 @@ mod component; pub use crate::component::Component; mod error; pub use crate::error::{AuthError, ConnecterError, Error, ParseError, ParserError, ProtocolError}; +pub use starttls::starttls;