diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-04 20:40:26 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-04 20:44:05 -0500 |
commit | aee04ecc6705d86d5371bbb54b2dc43bbec0773c (patch) | |
tree | e14cd5e512b73cc088d2d2b8f97b3fad2ab40f59 /src/writer.rs | |
parent | 57f245da290fee5a1cb2e9526fd30df3a2fb379d (diff) | |
download | ttyrec-aee04ecc6705d86d5371bbb54b2dc43bbec0773c.tar.gz ttyrec-aee04ecc6705d86d5371bbb54b2dc43bbec0773c.zip |
use futures-lite instead of futures
Diffstat (limited to 'src/writer.rs')
-rw-r--r-- | src/writer.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/writer.rs b/src/writer.rs index f161df0..0a94586 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -1,12 +1,12 @@ -use futures::io::AsyncWriteExt as _; +use futures_lite::io::AsyncWriteExt as _; /// Writes ttyrec frames to a [`futures::io::AsyncWrite`] instance. -pub struct Writer<T: futures::io::AsyncWrite> { +pub struct Writer<T: futures_lite::io::AsyncWrite> { output: T, creator: crate::Creator, } -impl<T: futures::io::AsyncWrite + std::marker::Unpin + Send> Writer<T> { +impl<T: futures_lite::io::AsyncWrite + std::marker::Unpin + Send> Writer<T> { /// Creates a new [`Writer`](Self) from a [`futures::io::AsyncWrite`] /// instance. pub fn new(output: T) -> Self { |