summaryrefslogtreecommitdiff
path: root/src/thread.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2023-05-28 10:32:50 +0100
committerAlex Orlenko <zxteam@protonmail.com>2023-05-29 00:30:29 +0100
commite0224ab1595fa17277333b657a597b9749d90f88 (patch)
tree107effae88a859ab1e40c07ac046c69e98565a25 /src/thread.rs
parent6dee339783b2defc608eec3c958945811c75c463 (diff)
downloadmlua-e0224ab1595fa17277333b657a597b9749d90f88.zip
Use futures-core and futures-tasks via futures-util.
Just to reduce number of dependencies.
Diffstat (limited to 'src/thread.rs')
-rw-r--r--src/thread.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.rs b/src/thread.rs
index 931aca9..3d238fc 100644
--- a/src/thread.rs
+++ b/src/thread.rs
@@ -27,8 +27,9 @@ use {
lua::ASYNC_POLL_PENDING,
value::{MultiValue, Value},
},
- futures_core::{future::Future, stream::Stream},
+ futures_util::stream::Stream,
std::{
+ future::Future,
marker::PhantomData,
pin::Pin,
ptr::NonNull,