-
Notifications
You must be signed in to change notification settings - Fork 236
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
Allow using tokio's AsyncBufRead #233
Conversation
The unit tests in |
ae18715
to
5080421
Compare
Looks like the |
I realize that this is not the best solution, because there's a lot of duplication. I'm just not sure how else to do it. I don't have a lot of experience with async code in Rust.
|
After some feedback, I've changed the design a bit now and introduced an |
@tafia Any thoughts on this? |
Ouch, it's been really long that this issue is opened, really sorry for that. |
I rebased the PR now on current |
|
I also fixed the one unit test failing in |
ping @tafia |
@tafia Any update on whether or not this can get merged? |
Sorry, this is definitely something I consider, I'll have a look in depth today. |
That would be great, thanks! For what it's worth, I've been using this branch and haven't run into any problems. |
Also FWIW, I'm writing an XMPP server and am interested in this functionality so I can switch to async multi-client handling. Happy to help push this along in any capacity. Fix conflicts, tests, etc. Lemme know if I can help! |
@itsgreggreg I'd appreciate a rebase, thanks! |
I caught up on some of the changes that were recently made, but the |
any updates on this? or tips how to get this to work? |
Closing this old PR in favor of #417 |
I would like to use
quick-xml
together withtokio
'sAsyncRead
, as I am fetching an object from S3 withrusoto_s3
and that returns a body that implementsAsyncRead
. This is an attempt at making that happen.