2019-03-11 19:00:25 +00:00
|
|
|
//! XMPP implementation with asynchronous I/O using Tokio.
|
2018-08-02 17:58:19 +00:00
|
|
|
|
2021-09-02 01:21:25 +00:00
|
|
|
#![deny(unsafe_code, missing_docs, bare_trait_objects)]
|
2020-03-15 23:34:46 +00:00
|
|
|
|
2018-12-18 18:04:31 +00:00
|
|
|
mod starttls;
|
|
|
|
mod stream_start;
|
2020-03-15 23:34:46 +00:00
|
|
|
mod xmpp_codec;
|
2019-01-29 00:52:07 +00:00
|
|
|
pub use crate::xmpp_codec::Packet;
|
2017-07-23 00:46:47 +00:00
|
|
|
mod event;
|
2020-05-29 22:14:32 +00:00
|
|
|
pub use event::Event;
|
|
|
|
mod client;
|
2018-12-18 18:04:31 +00:00
|
|
|
mod happy_eyeballs;
|
2020-03-18 00:12:48 +00:00
|
|
|
pub mod stream_features;
|
2020-05-29 22:14:32 +00:00
|
|
|
pub mod xmpp_stream;
|
2020-05-29 22:07:36 +00:00
|
|
|
pub use client::{async_client::Client as AsyncClient, simple_client::Client as SimpleClient};
|
2017-07-22 00:59:51 +00:00
|
|
|
mod component;
|
2018-12-18 17:29:31 +00:00
|
|
|
pub use crate::component::Component;
|
2018-09-06 15:46:06 +00:00
|
|
|
mod error;
|
2022-03-22 22:29:25 +00:00
|
|
|
pub use crate::error::{AuthError, ConnecterError, Error, ParseError, ProtocolError};
|
2021-12-28 15:38:52 +00:00
|
|
|
pub use starttls::starttls;
|