Skip to content

Commit ed58d66

Browse files
committed
chore(timers): replace futures with futures-util
1 parent 0f674bd commit ed58d66

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ ic-cdk-timers = { path = "src/ic-cdk-timers", version = "0.4.0" }
3636

3737
candid = "0.9"
3838
futures = "0.3"
39+
futures-util = "0.3"
3940
hex = "0.4"
4041
quote = "1"
4142
serde = "1"

src/ic-cdk-timers/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ic-cdk.workspace = true
2525
serde.workspace = true
2626
serde_bytes.workspace = true
2727
slotmap.workspace = true
28-
futures.workspace = true
28+
futures-util.workspace = true
2929

3030
[package.metadata.docs.rs]
3131
default-target = "wasm32-unknown-unknown"

src/ic-cdk-timers/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use std::{
2626
time::Duration,
2727
};
2828

29-
use futures::{stream::FuturesUnordered, StreamExt};
29+
use futures_util::{stream::FuturesUnordered, StreamExt};
3030
use slotmap::{new_key_type, KeyData, SlotMap};
3131

3232
use ic_cdk::api::call::RejectionCode;

0 commit comments

Comments
 (0)