Skip to content

Commit

Permalink
chore(timers): Replace futures with futures-util
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique committed Aug 7, 2023
1 parent 0f674bd commit 07fe7a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ic-cdk-timers = { path = "src/ic-cdk-timers", version = "0.4.0" }

candid = "0.9"
futures = "0.3"
futures-util = "0.3"
hex = "0.4"
quote = "1"
serde = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/ic-cdk-timers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ic-cdk.workspace = true
serde.workspace = true
serde_bytes.workspace = true
slotmap.workspace = true
futures.workspace = true
futures-util.workspace = true

[package.metadata.docs.rs]
default-target = "wasm32-unknown-unknown"
Expand Down
2 changes: 1 addition & 1 deletion src/ic-cdk-timers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use std::{
time::Duration,
};

use futures::{stream::FuturesUnordered, StreamExt};
use futures_util::{stream::FuturesUnordered, StreamExt};
use slotmap::{new_key_type, KeyData, SlotMap};

use ic_cdk::api::call::RejectionCode;
Expand Down

0 comments on commit 07fe7a2

Please sign in to comment.