lead-oxide 0.2.0

WIP API wrapper for pubproxy.com
Documentation
1
2
3
4
5
6
7
8
use std::time::Duration;

// Note: pubproxy doesn't support https
pub const API_URI: &str = "http://pubproxy.com/api/proxy?";
pub const REPO_URI: &str = env!("CARGO_PKG_REPOSITORY");

// Note: A shorter delay is used when testing
pub const DELAY: Duration = Duration::from_millis(if cfg!(test) { 100 } else { 1_100 });