reqwest is a higher-level HTTP client for Rust. I’m delighted to announce the first alpha release that brings async
/await
support!
Some headline features are:
std::future::Future
support (hello async
/await
).reqwest::blocking
.blocking
, cookies
, gzip
, json
).Hey look, a cute example using the new async
/await
syntax with reqwest
:
dbg!(reqwest::get("https://hyper.rs").await?.text().await?);
These alpha versions are depending on Rust 1.39, which (as of this post) aren’t stable yet. Some other things may change in reqwest
before the full release (can other features be made optional?), but the alphas allow others to experiment now.
My sincere thanks to all that help contribute to reqwest
! Enjoy <3
#rust