diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2023-05-28 10:32:50 +0100 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2023-05-29 00:30:29 +0100 |
commit | e0224ab1595fa17277333b657a597b9749d90f88 (patch) | |
tree | 107effae88a859ab1e40c07ac046c69e98565a25 /src/thread.rs | |
parent | 6dee339783b2defc608eec3c958945811c75c463 (diff) | |
download | mlua-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.rs | 3 |
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, |