mocra-proxy 0.4.1

Configuration-driven proxy pool / manager for the mocra crawler framework (zero-State, standalone).
Documentation

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 via From<ProxyError>.

Example

use mocra_proxy::{ProxyConfig, ProxyManager};

let manager = ProxyManager::from_config(&toml_str).await?;
let proxy = manager.get_proxy(None).await?;      // pick a proxy
manager.report_success(&proxy, None).await?;     // feedback for health tracking

Part of the mocra workspace.

License

Licensed under either of MIT or Apache-2.0 at your option.