Module prelude

Source
Expand description

A “prelude” for the crate

This prelude is similar to the standard library’s prelude in that you’ll almost always want to import its entire contents, but unlike the standard library’s prelude you’ll have to do so manually.

We may add items to this over time as they become ubiquitous as well.

Re-exports§

pub use crate::Client;
pub use crate::Connection;
pub use crate::Consumer;
pub use crate::ConsumerBuilder;
pub use crate::Producer;
pub use crate::ProducerBuilder;