mocra-proxy
Configuration-driven proxy pool / manager for the mocra
distributed crawler framework — standalone, zero-State, usable on its own.
Features
- Multi-provider proxy pool: tunnels, IP providers, health checks, rotation, expiry recovery.
- TOML configuration (
ProxyConfig::load_from_toml). - Own error type [
ProxyError] /Result— no reverse dependency on the host crate; the host maps it viaFrom<ProxyError>.
Example
use ;
let manager = from_config.await?;
let proxy = manager.get_proxy.await?; // pick a proxy
manager.report_success.await?; // feedback for health tracking
Part of the mocra workspace.
License
Licensed under either of MIT or Apache-2.0 at your option.