tower-resilience-core 0.5.0

Core infrastructure for tower-resilience: events, metrics, and shared utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Core infrastructure for tower-resilience.
//!
//! This crate provides shared functionality used across all tower-resilience modules:
//! - Event system for observability
//! - Metrics infrastructure
//! - Common configuration patterns
//! - Registry for managing instances
//! - Common error types for resilience patterns
//! - AIMD controller for congestion control

pub mod aimd;
pub mod error;
pub mod events;

pub use aimd::{AimdConfig, AimdController};
pub use error::ResilienceError;
pub use events::{EventListener, EventListeners, FnListener, ResilienceEvent};