-
Notifications
You must be signed in to change notification settings - Fork 223
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
Add tokio support. #111
Add tokio support. #111
Conversation
src/stream.rs
Outdated
@@ -49,6 +57,7 @@ impl<R, W> Splittable for ReadWritePair<R, W> | |||
} | |||
} | |||
|
|||
#[cfg(not(feature="async"))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That means the async
feature isn't additive, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nox I wish this would work but I'm currently trying to figure out a way to get both (I mean it's only disabled because I got a conflicting trait impl error but then I still couldn't use split on a TCP stream)
9aab73d
to
7a64f25
Compare
This will let us have efficient servers and be able to multiplex ordinarily blocking code.
Fixes #88 and will help with servo/servo#16236