// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! Chaos engineering middleware for testing resilience under failure conditions.
//!
//! This module provides middleware that deliberately injects faults into a
//! service pipeline, enabling teams to verify that their systems handle
//! failures gracefully.
//!
//! ## Available Middleware
//!
//! - [`injection`] - Replaces service output with a user-provided value at a
//! configurable probability.
//! - [`latency`] - Injects artificial delay before the inner service call at a
//! configurable probability.