mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
Move stream items into tokio-stream (#3277)
This change removes all references to `Stream` from within the `tokio` crate and moves them into a new `tokio-stream` crate. Most types have had their `impl Stream` removed as well in-favor of their inherent methods. Closes #2870
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
use bytes::Bytes;
|
||||
use tokio::io::AsyncReadExt;
|
||||
use tokio::stream::iter;
|
||||
use tokio_stream::iter;
|
||||
use tokio_util::io::StreamReader;
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in New Issue
Block a user