klauthed-data 0.2.0

Data-access building blocks for klauthed: pagination, transactional outbox, idempotency, locks, and caching.
Documentation
//! Messaging / event-bus connections from a
//! [`MessagingConfig`](klauthed_core::config::MessagingConfig).
//!
//! Each broker lives behind its own feature and contributes one connect
//! function. Because `MessagingConfig` is broker-tagged, every connector first
//! checks that the config selects its backend and otherwise returns
//! [`DataError::UnsupportedMessagingBackend`](crate::DataError) — so switching
//! brokers is a config + feature change, not a code rewrite.

#[cfg(feature = "nats")]
pub mod nats;

#[cfg(feature = "rabbitmq")]
pub mod rabbitmq;

#[cfg(feature = "kafka")]
pub mod kafka;

#[cfg(feature = "nats")]
pub use nats::connect_nats;

#[cfg(feature = "rabbitmq")]
pub use rabbitmq::connect_rabbitmq;

#[cfg(feature = "kafka")]
pub use kafka::connect_kafka;