xmpp-rs/src/lib.rs

23 lines
560 B
Rust
Raw Normal View History

2018-09-07 23:42:23 +00:00
#![deny(unsafe_code, unused, missing_docs)]
2018-08-02 17:58:19 +00:00
//! XMPP implemeentation with asynchronous I/O using Tokio.
2018-09-06 15:46:06 +00:00
#[macro_use]
extern crate derive_error;
2017-06-01 22:42:57 +00:00
2018-12-18 18:04:31 +00:00
mod starttls;
mod stream_start;
pub mod xmpp_codec;
pub use crate::xmpp_codec::Packet;
pub mod xmpp_stream;
2018-12-18 17:29:31 +00:00
pub use crate::starttls::StartTlsClient;
mod event;
2018-12-18 18:04:31 +00:00
mod happy_eyeballs;
2018-12-18 17:29:31 +00:00
pub use crate::event::Event;
2017-06-20 19:26:51 +00:00
mod client;
2018-12-18 17:29:31 +00:00
pub use crate::client::Client;
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;
2018-12-18 18:04:31 +00:00
pub use crate::error::{AuthError, ConnecterError, Error, ParseError, ParserError, ProtocolError};