aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.rs')
-rw-r--r--src/writer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/writer.rs b/src/writer.rs
index 9eb3aaa..6e52db1 100644
--- a/src/writer.rs
+++ b/src/writer.rs
@@ -1,12 +1,12 @@
-use futures_lite::io::AsyncWriteExt as _;
+use tokio::io::AsyncWriteExt as _;
/// Writes ttyrec frames to a [`futures_lite::io::AsyncWrite`] instance.
-pub struct Writer<T: futures_lite::io::AsyncWrite> {
+pub struct Writer<T: tokio::io::AsyncWrite> {
output: T,
creator: crate::Creator,
}
-impl<T: futures_lite::io::AsyncWrite + std::marker::Unpin + Send> Writer<T> {
+impl<T: tokio::io::AsyncWrite + std::marker::Unpin + Send> Writer<T> {
/// Creates a new [`Writer`](Self) from a [`futures_lite::io::AsyncWrite`]
/// instance.
pub fn new(output: T) -> Self {