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).
This commit is contained in:
Jonas Schäfer 2021-12-28 16:38:52 +01:00 committed by Astro
parent 014582461e
commit 3cbc7ffacd

View file

@ -17,3 +17,4 @@ mod component;
pub use crate::component::Component; pub use crate::component::Component;
mod error; mod error;
pub use crate::error::{AuthError, ConnecterError, Error, ParseError, ParserError, ProtocolError}; pub use crate::error::{AuthError, ConnecterError, Error, ParseError, ParserError, ProtocolError};
pub use starttls::starttls;