2017-06-03 01:58:31 +02:00
|
|
|
#[macro_use]
|
2017-06-02 00:42:57 +02:00
|
|
|
extern crate futures;
|
|
|
|
|
extern crate tokio_core;
|
2017-06-04 02:05:08 +02:00
|
|
|
extern crate tokio_io;
|
|
|
|
|
extern crate bytes;
|
2017-06-02 00:42:57 +02:00
|
|
|
extern crate xml;
|
2017-06-06 02:03:38 +02:00
|
|
|
extern crate native_tls;
|
|
|
|
|
extern crate tokio_tls;
|
2017-06-06 01:29:20 +02:00
|
|
|
extern crate sasl;
|
|
|
|
|
extern crate rustc_serialize as serialize;
|
2017-06-02 00:42:57 +02:00
|
|
|
|
|
|
|
|
|
2017-06-05 02:50:22 +02:00
|
|
|
pub mod xmpp_codec;
|
|
|
|
|
pub mod xmpp_stream;
|
|
|
|
|
mod stream_start;
|
2017-06-04 01:37:46 +02:00
|
|
|
mod tcp;
|
|
|
|
|
pub use tcp::*;
|
2017-06-05 00:42:35 +02:00
|
|
|
mod starttls;
|
|
|
|
|
pub use starttls::*;
|
2017-06-06 01:29:20 +02:00
|
|
|
mod client_auth;
|
|
|
|
|
pub use client_auth::*;
|
2017-06-02 00:42:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// type FullClient = sasl::Client<StartTLS<TCPConnection>>
|
|
|
|
|
|