broccoli_queue 0.4.6

Broccoli is a simple, fast, and reliable job queue for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![warn(missing_docs)]
#![deny(clippy::unwrap_used)]
#![deny(clippy::expect_used)]
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
//! Broccoli is a message broker library that provides a simple API for sending and receiving messages.
//! It currently supports Redis as a message broker, with plans to support additional brokers in the future, such as `RabbitMQ` and Kafka.

#[cfg(not(any(feature = "redis", feature = "rabbitmq", feature = "surrealdb")))]
compile_error!(
    "You must enable at least one of the following features: redis, rabbitmq, surrealdb"
);

/// Contains the interfaces for brokers
pub mod brokers;
/// Contains the error types for the Broccoli system
pub mod error;
/// Contains the message queue implementation
pub mod queue;