dmsc/queue/backends/mod.rs
1//! Copyright © 2025-2026 Wenze Wei. All Rights Reserved.
2//!
3//! This file is part of DMSC.
4//! The DMSC project belongs to the Dunimd Team.
5//!
6//! Licensed under the Apache License, Version 2.0 (the "License");
7//! you may not use this file except in compliance with the License.
8//! You may obtain a copy of the License at
9//!
10//! http://www.apache.org/licenses/LICENSE-2.0
11//!
12//! Unless required by applicable law or agreed to in writing, software
13//! distributed under the License is distributed on an "AS IS" BASIS,
14//! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15//! See the License for the specific language governing permissions and
16//! limitations under the License.
17
18#![allow(non_snake_case)]
19
20pub mod memory_backend;
21#[cfg(feature = "rabbitmq")]
22pub mod rabbitmq_backend;
23#[cfg(feature = "redis")]
24pub mod redis_backend;
25
26pub use memory_backend::DMSCMemoryQueue;
27#[cfg(feature = "rabbitmq")]
28pub use rabbitmq_backend::DMSCRabbitMQQueue;
29#[cfg(feature = "redis")]
30pub use redis_backend::DMSCRedisQueue;
31
32#[cfg(feature = "kafka")]
33pub mod kafka_backend;
34#[cfg(feature = "kafka")]
35pub use kafka_backend::DMSCKafkaQueue;