//! `greggd` library.
//!
//! Provides the daemon components: configuration, service management,
//! metrics collection, periodic sampling, and HTTP server.
/// CLI argument parsing and subcommand dispatch for the daemon.
/// Native metrics collection for each supported platform.
/// Daemon configuration, validation, file I/O, and atomic persistence.
/// Local Unix-domain control socket for `greggd stop`.
/// Local-network address resolution utilities.
/// Foreground daemon entry point and shutdown orchestration.
/// Periodic sampling loop that collects metrics and manages daemon state.
/// HTTP server for the daemon status and health endpoints.
/// Windows Service Control Manager integration.