//! Core utilities shared by rs-zero crates.

pub mod config;
pub mod error;
pub mod logging;
pub mod service;
pub mod service_group;
pub mod shutdown;

pub use config::load_config;
pub use error::{CoreError, CoreResult};
pub use logging::{LogConfig, LogFormat, LogWriterConfig, init_tracing};
pub use service::{FnService, Service, ServiceFuture, ServiceInfo};
pub use service_group::{ServiceGroup, ServiceGroupConfig, ServiceGroupHandle};
pub use shutdown::{ShutdownFuture, ShutdownToken, shutdown_signal};
