Closed Ralith closed 2 years ago
This also improves consistency with tokio primitives, e.g. mpsc::Receiver::recv
.
Should we use futures-io as the optional dep rather than futures-util? Otherwise this looks great!
Good catch, I didn't know that crate existed! Fixed.
A trivial amount of additional code lets us save another dep and be a bit more accessible to new users (see e.g. #1262).