Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async/Await support #10

Closed
davidgraeff opened this issue Nov 3, 2019 · 5 comments
Closed

Async/Await support #10

davidgraeff opened this issue Nov 3, 2019 · 5 comments

Comments

@davidgraeff
Copy link
Owner

As soon as Rust 1.39 hits stable and the used reqwest crate is released with async support, this library should be updated to offer blocking and async APIs.

@davidgraeff
Copy link
Owner Author

Initial preparations done with 0.6. I'm not sure yet if the async API should have "_async" suffixes or an own namespace via an "nonblocking" module.

@felipellrocha
Copy link

How's progress for this work coming? I ran into a use case

@davidgraeff
Copy link
Owner Author

davidgraeff commented Nov 4, 2020

It's not that complicated to implement, all underlying libraries have good asnyc support by now.

I didn't have enough pressure to lay out the design yet.

@davidgraeff
Copy link
Owner Author

davidgraeff commented Dec 26, 2020

Depends on issue seanmonstar/reqwest#1060 (reqwest for tokio 1.0).
Related MR is seanmonstar/reqwest#1076

With tokio 1.0 we can probably expect a mostly stable upstream foundation for good async support and it is the right time for an API in this crate as well.

@davidgraeff
Copy link
Owner Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants