These should be feature-flagged so the futures dependency is optional.
I think a Sink impl may be harder than Stream, because the intrusive list approach means that Sender::send_ref cannot be directly polled. So, we may need to introduce some kind of PollSender type if we want to provide Sink...
These should be feature-flagged so the
futuresdependency is optional.I think a
Sinkimpl may be harder thanStream, because the intrusive list approach means thatSender::send_refcannot be directly polled. So, we may need to introduce some kind ofPollSendertype if we want to provideSink...