rabbit_warren 0.1.2

An ergonomic, production-ready RabbitMQ client built on top of lapin, featuring automatic ack/nack strategies and distributed tracing.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(test)]
pub mod tests;

pub mod client;
pub mod errors;

pub use client::{current_trace_headers, deserialize_delivery, payload_as_utf8, RmqClient};
pub use errors::{AckAction, Error, IntoAckAction, ProcessingError, Result, ResultExt};

// Re-exports of the most commonly used lapin types, so that the service
// crates do not have to depend on `lapin` directly for these symbols.
pub use lapin::message::Delivery;
pub use lapin::types::FieldTable;
pub use lapin::{Channel, ExchangeKind};