diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-04-26 23:18:28 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-04-26 23:22:25 +0200 |
| commit | 5732ee7ca975c0dd1afa83ade1667a2599d20985 (patch) | |
| tree | f627117733d3fcd5bbb4eb664559c387a8e81f33 /embassy-stm32-wpan | |
| parent | 597315873dbef394ae4cefe0af740fcb1bb951e0 (diff) | |
Reduce use of the full `futures` crate.
Diffstat (limited to 'embassy-stm32-wpan')
| -rw-r--r-- | embassy-stm32-wpan/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-stm32-wpan/src/mac/control.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32-wpan/Cargo.toml b/embassy-stm32-wpan/Cargo.toml index 360ca5f4b..d4f7e5892 100644 --- a/embassy-stm32-wpan/Cargo.toml +++ b/embassy-stm32-wpan/Cargo.toml | |||
| @@ -35,7 +35,7 @@ aligned = "0.4.1" | |||
| 35 | bit_field = "0.10.2" | 35 | bit_field = "0.10.2" |
| 36 | stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } | 36 | stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } |
| 37 | stm32wb-hci = { version = "0.17.0", optional = true } | 37 | stm32wb-hci = { version = "0.17.0", optional = true } |
| 38 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 38 | futures-util = { version = "0.3.30", default-features = false } |
| 39 | bitflags = { version = "2.3.3", optional = true } | 39 | bitflags = { version = "2.3.3", optional = true } |
| 40 | 40 | ||
| 41 | [features] | 41 | [features] |
diff --git a/embassy-stm32-wpan/src/mac/control.rs b/embassy-stm32-wpan/src/mac/control.rs index 8a13de81c..e8d2f9f7b 100644 --- a/embassy-stm32-wpan/src/mac/control.rs +++ b/embassy-stm32-wpan/src/mac/control.rs | |||
| @@ -5,7 +5,7 @@ use core::task::Poll; | |||
| 5 | use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; | 5 | use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; |
| 6 | use embassy_sync::mutex::MutexGuard; | 6 | use embassy_sync::mutex::MutexGuard; |
| 7 | use embassy_sync::signal::Signal; | 7 | use embassy_sync::signal::Signal; |
| 8 | use futures::FutureExt; | 8 | use futures_util::FutureExt; |
| 9 | 9 | ||
| 10 | use super::commands::MacCommand; | 10 | use super::commands::MacCommand; |
| 11 | use super::event::MacEvent; | 11 | use super::event::MacEvent; |
