diff options
| author | Dániel Buga <[email protected]> | 2025-06-16 13:57:19 +0200 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2025-06-16 13:57:19 +0200 |
| commit | a0d17ea5ca0bd76ef4d4398c28bc8f98c4e50065 (patch) | |
| tree | 7508b417ffdefaa86b4afddba669d46c8d74f3fc /embassy-time | |
| parent | 56572ef0adffd6258adc10fb424e37a8b4ddc19c (diff) | |
Remove futures-util where unnecessary
Diffstat (limited to 'embassy-time')
| -rw-r--r-- | embassy-time/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-time/src/timer.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml index 76983d880..2284906b0 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml | |||
| @@ -427,7 +427,7 @@ embedded-hal-02 = { package = "embedded-hal", version = "0.2.6" } | |||
| 427 | embedded-hal-1 = { package = "embedded-hal", version = "1.0" } | 427 | embedded-hal-1 = { package = "embedded-hal", version = "1.0" } |
| 428 | embedded-hal-async = { version = "1.0" } | 428 | embedded-hal-async = { version = "1.0" } |
| 429 | 429 | ||
| 430 | futures-util = { version = "0.3.17", default-features = false } | 430 | futures-core = { version = "0.3.31", default-features = false } |
| 431 | critical-section = "1.1" | 431 | critical-section = "1.1" |
| 432 | cfg-if = "1.0.0" | 432 | cfg-if = "1.0.0" |
| 433 | 433 | ||
diff --git a/embassy-time/src/timer.rs b/embassy-time/src/timer.rs index d1162eadd..d3f1e1621 100644 --- a/embassy-time/src/timer.rs +++ b/embassy-time/src/timer.rs | |||
| @@ -2,8 +2,8 @@ use core::future::{poll_fn, Future}; | |||
| 2 | use core::pin::Pin; | 2 | use core::pin::Pin; |
| 3 | use core::task::{Context, Poll}; | 3 | use core::task::{Context, Poll}; |
| 4 | 4 | ||
| 5 | use futures_util::stream::FusedStream; | 5 | use futures_core::stream::FusedStream; |
| 6 | use futures_util::Stream; | 6 | use futures_core::Stream; |
| 7 | 7 | ||
| 8 | use crate::{Duration, Instant}; | 8 | use crate::{Duration, Instant}; |
| 9 | 9 | ||
