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

fix(quinn): impl tokio::io::AsyncWrite for SendStream #2141

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

matheus23
Copy link
Contributor

We don't actually need the runtime-tokio feature to implement tokio::io::AsnycWrite, as we import enough of tokio for that already.

In a similar way, there already exists an impl tokio::io::AsyncRead for RecvStream, so this would just make the implementations between SendStream and RecvStream consistent.

Copy link
Member

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@djc
Copy link
Member

djc commented Jan 27, 2025

(CI failure should be fixed in #2139.)

@matheus23 matheus23 force-pushed the matheus23/async-read-write branch from 9c7546d to 649e75d Compare January 28, 2025 07:46
@djc djc added this pull request to the merge queue Jan 28, 2025
Merged via the queue into quinn-rs:main with commit 13decb4 Jan 28, 2025
20 checks passed
@matheus23 matheus23 deleted the matheus23/async-read-write branch January 28, 2025 08:24
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

Successfully merging this pull request may close these issues.

2 participants