aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.rs')
-rw-r--r--src/reader.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reader.rs b/src/reader.rs
index 3426dcb..0b0666b 100644
--- a/src/reader.rs
+++ b/src/reader.rs
@@ -1,13 +1,13 @@
-use futures_lite::io::AsyncReadExt as _;
+use tokio::io::AsyncReadExt as _;
/// Reads ttyrec frames from a [`futures_lite::io::AsyncRead`] instance.
-pub struct Reader<T: futures_lite::io::AsyncRead> {
+pub struct Reader<T: tokio::io::AsyncRead> {
input: T,
parser: crate::Parser,
buf: [u8; 4096],
}
-impl<T: futures_lite::io::AsyncRead + std::marker::Unpin + Send> Reader<T> {
+impl<T: tokio::io::AsyncRead + std::marker::Unpin + Send> Reader<T> {
/// Creates a new [`Reader`](Self) from a [`futures_lite::io::AsyncRead`]
/// instance.
pub fn new(input: T) -> Self {