// Project: scalo
// File: src/health/mod.rs
// Purpose: Unified health registry for service health state
// Language: Rust
//
// License: Apache-2.0
// Copyright: (c) 2026 HYPERI PTY LIMITED
//! Unified health registry for service readiness and liveness.
//!
//! Provides a global singleton [`HealthRegistry`] that modules register
//! into at construction. The `/readyz` endpoint (or any health check)
//! queries the registry to determine overall service health.
//!
//! # Usage
//!
//! ```rust
//! use scalo::health::{HealthRegistry, HealthStatus};
//!
//! // Register a component health check at construction
//! HealthRegistry::register("kafka_consumer", || HealthStatus::Healthy);
//!
//! // Query overall health
//! assert!(HealthRegistry::is_ready());
//! ```
pub use ;