//! 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.
// Each backend's connector is `<backend>::connect`; re-exported here with a
// backend-qualified name so callers write `messaging::connect_nats(&config)`.
pub use connect as connect_nats;
pub use connect as connect_rabbitmq;
pub use connect as connect_kafka;