#[cfg(feature = "events")]
pub mod events;
#[cfg(feature = "support")]
pub mod gate;
#[cfg(feature = "support")]
pub mod guard;
pub mod registry;
mod runtime;
mod service;
pub mod state;
#[cfg(feature = "events")]
pub use events::{Event, ProcessEventBus, ShutdownInitiated};
#[cfg(feature = "support")]
pub use gate::{Gate, GateDrainOutcome, Permit};
#[cfg(feature = "support")]
pub use guard::{Guard, GuardGroup};
pub use registry::{
BoxError, Error, Finalizable, FinalizeFailure, FinalizeOutcome, Provider, ProviderOrder,
Registry, ReloadFailure, ReloadOutcome, ReloadState, Reloadable, Result, Runnable, StdError,
ValidationFailure, ValidationOutcome,
};
pub use runtime::Runtime;
pub use service::{
RunContext, ServiceManager, ServiceManagerError, ServiceSnapshot, ServiceStartPolicy,
ServiceStatus,
};
#[cfg(feature = "events")]
pub use state::HasEvents;
#[cfg(feature = "registry")]
pub use state::HasRegistry;
pub use state::SharedState;