Expand description
os_service_fabric is a dependency-free, no_std-first framework for
modeling and orchestrating operating system services.
It defines:
- explicit service lifecycles (
statemodule) - static, allocation-free dependency graphs (
graphmodule) - health reporting (
healthmodule) - recovery policies (
policymodule) - a deterministic runtime that drives services (
runtimemodule)
The crate does not perform I/O, allocation, or logging on its own. It is intended to be integrated into kernels or bare-metal frameworks that provide these capabilities externally.
Re-exports§
pub use crate::error::ServiceError;pub use crate::graph::GraphError;pub use crate::graph::ServiceGraph;pub use crate::graph::ServiceNode;pub use crate::health::HealthLevel;pub use crate::health::ServiceHealth;pub use crate::id::ServiceId;pub use crate::policy::RecoveryAction;pub use crate::policy::RecoveryPolicy;pub use crate::runtime::FabricRuntime;pub use crate::runtime::FabricStepOutcome;pub use crate::service::Service;pub use crate::state::ServiceState;
Modules§
- error
- Error types used by the fabric and services.
- graph
- Static, allocation-free service dependency graphs.
- health
- Health reporting primitives for services.
- id
- Service identifiers used by the fabric.
- policy
- Recovery policies for services.
- runtime
- Deterministic runtime driving a
crate::graph::ServiceGraphwith recovery policies. - service
- Definition of the
Servicetrait implemented by subsystems. - state
- Service lifecycle states and related helpers.