1pub mod circuit_breaker;
27pub mod error;
28pub mod health;
29pub mod manager;
30pub mod session;
31pub mod storage;
32pub mod strategy;
33pub mod types;
34
35#[cfg(feature = "graph")]
36pub mod graph;
37
38#[cfg(feature = "browser")]
39pub mod browser;
40
41pub use circuit_breaker::{CircuitBreaker, STATE_CLOSED, STATE_HALF_OPEN, STATE_OPEN};
43pub use error::{ProxyError, ProxyResult};
44pub use health::{HealthChecker, HealthMap};
45pub use manager::{PoolStats, ProxyHandle, ProxyManager, ProxyManagerBuilder};
46pub use session::{SessionMap, StickyPolicy};
47pub use storage::MemoryProxyStore;
48pub use strategy::{
49 BoxedRotationStrategy, LeastUsedStrategy, ProxyCandidate, RandomStrategy, RotationStrategy,
50 RoundRobinStrategy, WeightedStrategy,
51};
52pub use types::{Proxy, ProxyConfig, ProxyMetrics, ProxyRecord, ProxyType};
53
54#[cfg(feature = "graph")]
55pub use graph::{BoxedProxyManager, NoopProxyManager, ProxyManagerPort};
56
57#[cfg(feature = "browser")]
58pub use browser::{BrowserProxySource, ProxyManagerBridge};