aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/ttyplay/timer.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-02-24 17:22:47 -0500
committerJesse Luehrs <doy@tozt.net>2022-02-24 17:22:47 -0500
commit2f970a5daf50796aaab4d93a2a84e0f293809ac0 (patch)
tree924c7c4f664defc3e2360a79b8ea73325a314732 /src/bin/ttyplay/timer.rs
parentaed2684db55ac04496fe1a7dc7a4a37ce02bcfc9 (diff)
downloadttyrec-bin-2f970a5daf50796aaab4d93a2a84e0f293809ac0.tar.gz
ttyrec-bin-2f970a5daf50796aaab4d93a2a84e0f293809ac0.zip
i only need futures-util here
Diffstat (limited to 'src/bin/ttyplay/timer.rs')
-rw-r--r--src/bin/ttyplay/timer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/ttyplay/timer.rs b/src/bin/ttyplay/timer.rs
index e8dc0fa..b212b4a 100644
--- a/src/bin/ttyplay/timer.rs
+++ b/src/bin/ttyplay/timer.rs
@@ -1,4 +1,4 @@
-use futures::future::FutureExt as _;
+use futures_util::future::FutureExt as _;
pub fn spawn_task(
event_w: tokio::sync::mpsc::UnboundedSender<crate::event::Event>,
@@ -69,7 +69,7 @@ pub fn spawn_task(
None
}
};
- let select: futures::future::SelectAll<_> = [
+ let select: futures_util::future::SelectAll<_> = [
wait.map(Res::Frame).boxed(),
timer_r.recv().map(Res::Action).boxed(),
]