1#![allow(clippy::multiple_crate_versions)]
3pub mod circuit_breaker;
28pub mod error;
29pub mod fetcher;
30pub mod health;
31pub mod manager;
32pub mod session;
33pub mod storage;
34pub mod strategy;
35pub mod types;
36
37#[cfg(feature = "graph")]
38pub mod graph;
39
40#[cfg(feature = "browser")]
41pub mod browser;
42
43#[cfg(feature = "tls-profiled")]
44pub mod http_client;
45
46#[cfg(feature = "mcp")]
48pub mod mcp;
49
50pub use circuit_breaker::{CircuitBreaker, STATE_CLOSED, STATE_HALF_OPEN, STATE_OPEN};
52pub use error::{ProxyError, ProxyResult};
53pub use fetcher::{FreeListFetcher, FreeListSource, ProxyFetcher, load_from_fetcher};
54pub use health::{HealthChecker, HealthMap};
55pub use manager::{PoolStats, ProxyHandle, ProxyManager, ProxyManagerBuilder};
56pub use session::{SessionMap, StickyPolicy};
57pub use storage::MemoryProxyStore;
58pub use strategy::{
59 BoxedRotationStrategy, LeastUsedStrategy, ProxyCandidate, RandomStrategy, RotationStrategy,
60 RoundRobinStrategy, WeightedStrategy,
61};
62pub use types::{ProfiledRequestMode, Proxy, ProxyConfig, ProxyMetrics, ProxyRecord, ProxyType};
63
64#[cfg(feature = "graph")]
65pub use graph::{BoxedProxyManager, NoopProxyManager, ProxyManagerPort};
66
67#[cfg(feature = "browser")]
68pub use browser::{BrowserProxySource, ProxyManagerBridge};
69
70#[cfg(feature = "tls-profiled")]
71pub use http_client::{ProfiledRequester, ProfiledRequesterError};