14 releases

0.1.14 Nov 11, 2024
0.1.13 Aug 17, 2024
0.1.11 Jun 13, 2024
0.1.10 Jan 30, 2024
0.1.3 Dec 20, 2023

#61 in #ipv6

Download history 100/week @ 2024-08-05 147/week @ 2024-08-12 14/week @ 2024-08-19 30/week @ 2024-09-16 15/week @ 2024-09-23 3/week @ 2024-09-30 132/week @ 2024-11-11

132 downloads per month

MulanPSL-2.0

16KB
209 lines

preq: ipv6 proxyed reqwest

genv::s!(IPV6_PROXY_TEST_URL, IPV6_PROXY_TEST_RESULT);
use aok::{Result, OK};

#[tokio::test]
async fn test() -> Result<()> {
  loginit::init();
  use preq::PROXY;
  let url = IPV6_PROXY_TEST_URL.as_str();
  // let url = "https://www.baidu.com";
  let r = PROXY.post_form(url, [("q", "I")]).await?;
  tracing::info!("{}", String::from_utf8_lossy(&r));
  // assert_eq!(r, &*IPV6_PROXY_TEST_RESULT);
  OK
}

Dependencies

~6–18MB
~247K SLoC