diff --git a/awkernel_async_lib/Cargo.toml b/awkernel_async_lib/Cargo.toml index cb6ddbb21..21c26de5f 100644 --- a/awkernel_async_lib/Cargo.toml +++ b/awkernel_async_lib/Cargo.toml @@ -11,9 +11,10 @@ log = "0.4" array-macro = "2.1" [dependencies.futures] -version = "0.3" +git = "https://github.com/ytakano/futures-rs.git" +# version = "0.3" default-features = false -features = ["alloc", "async-await", "cfg-target-has-atomic"] +features = ["alloc", "async-await"] [dependencies.awkernel_lib] path = "../awkernel_lib" diff --git a/awkernel_async_lib/src/lib.rs b/awkernel_async_lib/src/lib.rs index 85e89bca0..67edf16a1 100644 --- a/awkernel_async_lib/src/lib.rs +++ b/awkernel_async_lib/src/lib.rs @@ -38,7 +38,7 @@ use core::time::Duration; use futures::{channel::oneshot, Future}; use join_handle::JoinHandle; -pub use futures::select_biased; +pub use futures::{select, select_biased}; pub use awkernel_lib::{ cpu::cpu_id,