I want to make asynchronous HTTP requests using the reqwest
crate. I have the following code:
// see https://docs.rs/reqwest/*/reqwest/async/index.html
use reqwest::async::Client;
When I attempt to compile my code I get the following error:
error: expected identifier, found reserved keyword `async`
--> src/main.rs:1:14
|
1 | use reqwest::async::Client;
| ^^^^^ expected identifier, found reserved keyword
How do I import from the async
module?