Skip to main content

mocra_proxy/
lib.rs

1//! mocra-proxy: a configuration-driven proxy pool / manager (extracted from the main mocra
2//! crate; State-free and usable standalone).
3//!
4//! - [`ProxyManager`] / [`ProxyPool`]: a multi-provider proxy pool with tunnels, health checks,
5//!   rotation, and expiry reclamation.
6//! - [`ProxyConfig`]: TOML configuration loading (`ProxyConfig::load_from_toml`).
7//! - A standalone [`ProxyError`]; the host crate folds it into its own error hierarchy via `From`.
8
9pub mod error;
10pub mod proxy_impl;
11pub mod proxy_manager;
12pub mod proxy_pool;
13
14pub use error::{BoxError, ProxyError, Result};
15pub use proxy_manager::ProxyManager;
16pub use proxy_pool::*;