preq

Crates.iopreq
lib.rspreq
version
sourcesrc
created_at2023-12-20 09:07:11.274016
updated_at2024-11-11 05:45:51.275253
descriptionipv6 proxyed reqwest
homepagehttps://github.com/i18n-site/rust/tree/main/preq
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1075124
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
i18n.site (i18nsite)

documentation

README

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
}
Commit count: 22

cargo fmt