Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: add futures-core crate features

appflowy561aa348e9e2
diff --git a/shared-lib/lib-infra/Cargo.toml b/shared-lib/lib-infra/Cargo.toml
index 07fd103cb1..ee39ead175 100644
--- a/shared-lib/lib-infra/Cargo.toml
+++ b/shared-lib/lib-infra/Cargo.toml
@@ -11,7 +11,7 @@ log = "0.4.14"
chrono = "0.4.19"
bytes = { version = "1.0" }
pin-project = "1.0"
-futures-core = { version = "0.3", default-features = false }
+futures-core = { version = "0.3" }
tokio = { version = "1.0", features = ["time", "rt"] }
rand = "0.8.3"
diff --git a/shared-lib/lib-infra/src/future.rs b/shared-lib/lib-infra/src/future.rs
index 8a628f8744..9a0b6550dd 100644
--- a/shared-lib/lib-infra/src/future.rs
+++ b/shared-lib/lib-infra/src/future.rs
@@ -1,4 +1,5 @@
-use futures_core::{future::BoxFuture, ready};
+use futures_core::future::BoxFuture;
+use futures_core::ready;
use pin_project::pin_project;
use std::{
fmt::Debug,