#![warn(missing_docs)]
#![allow(refining_impl_trait_internal, refining_impl_trait_reachable)]
#![doc = include_str!("../README.md")]
pub mod config;
pub mod error;
#[cfg(feature = "axum")]
pub mod health;
#[cfg(feature = "nats")]
mod nats_util;
#[cfg(feature = "metrics")]
pub mod metrics;
pub mod middleware;
pub mod prelude;
pub mod router;
pub mod service;
#[cfg(feature = "axum")]
pub mod testing;
#[cfg(feature = "axum")]
pub use health::HealthRouter;
pub mod client;
#[cfg(feature = "sqlx-postgres")]
pub mod db;
#[cfg(feature = "election")]
pub mod election;
#[cfg(feature = "nats")]
pub mod mq;
pub mod server;
pub use connectrpc::{
ConnectError, ConnectRpcBody, ConnectRpcService, ErrorCode, Protocol, RequestContext, Router,
Server,
};
pub use buffa::view::{MessageView, OwnedView};
pub type BoxError = Box<dyn std::error::Error + Send + Sync>;
pub type BoxFuture<T> = std::pin::Pin<Box<dyn std::future::Future<Output = T> + Send>>;
pub type BoxResult<T> = Result<T, BoxError>;
#[cfg(test)]
mod tests {
#[test]
fn test_lib_compiles() {
}
}