Learning #rustlang too! I was surprised that reqwest::Client is synchronous instead of async.
I believe the plan is to eventually offer both once async/await is a thing. I believe you can use the async version today with the “nightly” feature.
-
-
Reqwest offers an async API version which is usable on stable (and just uses Futures). Not sure if there's an async/await compatible API yet.
-
Ah thanks!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.