mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: af cloud database (#3684)
* chore: forece user to logout when token is invalid * chore: update client api rev
This commit is contained in:
@ -26,17 +26,16 @@ url = { version = "2.2", optional = true }
|
||||
collab-database = { version = "0.1.0", optional = true }
|
||||
collab-document = { version = "0.1.0", optional = true }
|
||||
tokio-postgres = { version = "0.7.8", optional = true }
|
||||
tokio = { version = "1.0", optional = true }
|
||||
client-api = { version = "0.1.0", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["impl_from_appflowy_cloud", "impl_from_collab", "impl_from_reqwest", "impl_from_serde"]
|
||||
impl_from_dispatch_error = ["lib-dispatch"]
|
||||
impl_from_serde = ["serde_json"]
|
||||
impl_from_reqwest = ["reqwest"]
|
||||
impl_from_sqlite = ["flowy-sqlite", "r2d2"]
|
||||
impl_from_collab = ["collab-database", "collab-document", "impl_from_reqwest"]
|
||||
impl_from_postgres = ["tokio-postgres"]
|
||||
impl_from_tokio = ["tokio"]
|
||||
impl_from_url = ["url"]
|
||||
impl_from_appflowy_cloud = ["client-api"]
|
||||
dart = ["flowy-codegen/dart"]
|
||||
|
@ -19,9 +19,6 @@ pub mod collab;
|
||||
#[cfg(feature = "impl_from_postgres")]
|
||||
mod postgres;
|
||||
|
||||
#[cfg(feature = "impl_from_tokio")]
|
||||
mod tokio;
|
||||
|
||||
#[cfg(feature = "impl_from_appflowy_cloud")]
|
||||
mod cloud;
|
||||
#[cfg(feature = "impl_from_url")]
|
||||
|
@ -1,7 +0,0 @@
|
||||
use crate::FlowyError;
|
||||
|
||||
// impl<T> std::convert::From<tokio::sync::mpsc::error::SendError<T>> for FlowyError {
|
||||
// fn from(error: tokio::sync::mpsc::error::SendError<T>) -> Self {
|
||||
// FlowyError::internal().context(error)
|
||||
// }
|
||||
// }
|
Reference in New Issue
Block a user