#![deny(unused_extern_crates, unsafe_code)]
#![warn(missing_docs, rust_2018_idioms, unreachable_pub)]
pub mod dealer;
pub mod pair;
pub mod publish;
pub mod pull;
pub mod push;
pub mod reply;
pub mod request;
pub mod router;
pub mod stream;
pub mod subscribe;
pub mod xpublish;
pub mod xsubscribe;
mod evented;
mod socket;
mod watcher;
pub mod prelude {
pub use crate::dealer::{dealer, Dealer};
pub use crate::pair::{pair, Pair};
pub use crate::publish::{publish, Publish};
pub use crate::pull::{pull, Pull};
pub use crate::push::{push, Push};
pub use crate::reply::{reply, Reply};
pub use crate::request::{request, Request};
pub use crate::socket::{MessageBuf, SocketBuilder};
pub use crate::stream::{stream, ZmqStream};
pub use crate::subscribe::{subscribe, Subscribe};
pub use crate::xpublish::{xpublish, XPublish};
pub use crate::xsubscribe::{xsubscribe, XSubscribe};
pub use futures::sink::{Sink, SinkExt};
pub use futures::stream::{Stream, StreamExt};
pub use zmq::{self, Error, Message, Result};
}
pub use prelude::*;