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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
mv lib-sqlite to shared-lib
appflowy271cd0dd6154
diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.tomlindex 1b7923a4cb..ca4bf6d4bc 100644--- a/frontend/rust-lib/Cargo.toml+++ b/frontend/rust-lib/Cargo.toml@@ -2,7 +2,6 @@members = ["lib-dispatch","lib-log",- "lib-sqlite","lib-infra","flowy-sdk","dart-ffi",diff --git a/frontend/rust-lib/flowy-database/Cargo.toml b/frontend/rust-lib/flowy-database/Cargo.tomlindex 0045ecca91..35f68c1480 100644--- a/frontend/rust-lib/flowy-database/Cargo.toml+++ b/frontend/rust-lib/flowy-database/Cargo.toml@@ -9,4 +9,4 @@ edition = "2018"diesel = {version = "1.4.8", features = ["sqlite"]}diesel_derives = {version = "1.4.1", features = ["sqlite"]}diesel_migrations = {version = "1.4.0", features = ["sqlite"]}-lib-sqlite = {path = "../lib-sqlite" }\ No newline at end of file+lib-sqlite = { path = "../../../shared-lib/lib-sqlite" }\ No newline at end of filediff --git a/frontend/rust-lib/flowy-user/Cargo.toml b/frontend/rust-lib/flowy-user/Cargo.tomlindex 0bcdb4c5d6..ae70823d25 100644--- a/frontend/rust-lib/flowy-user/Cargo.toml+++ b/frontend/rust-lib/flowy-user/Cargo.toml@@ -10,13 +10,13 @@ flowy-user-infra = { path = "../../../shared-lib/flowy-user-infra" }backend-service = { path = "../../../shared-lib/backend-service" }flowy-derive = { path = "../../../shared-lib/flowy-derive" }lib-ws = { path = "../../../shared-lib/lib-ws" }+lib-sqlite = { path = "../../../shared-lib/lib-sqlite" }derive_more = {version = "0.99", features = ["display"]}flowy-database = { path = "../flowy-database" }dart-notify = { path = "../dart-notify" }lib-dispatch = { path = "../lib-dispatch" }lib-infra = { path = "../lib-infra" }-lib-sqlite = { path = "../lib-sqlite" }tracing = { version = "0.1", features = ["log"] }bytes = "1.0"diff --git a/frontend/rust-lib/flowy-workspace/Cargo.toml b/frontend/rust-lib/flowy-workspace/Cargo.tomlindex 233522f4d9..d4702c08ff 100644--- a/frontend/rust-lib/flowy-workspace/Cargo.toml+++ b/frontend/rust-lib/flowy-workspace/Cargo.toml@@ -10,6 +10,7 @@ flowy-workspace-infra = { path = "../../../shared-lib/flowy-workspace-infra" }flowy-document-infra = { path = "../../../shared-lib/flowy-document-infra" }flowy-derive = { path = "../../../shared-lib/flowy-derive" }lib-ot = { path = "../../../shared-lib/lib-ot" }+lib-sqlite = { path = "../../../shared-lib/lib-sqlite" }backend-service = { path = "../../../shared-lib/backend-service" }@@ -18,7 +19,6 @@ flowy-database = { path = "../flowy-database" }dart-notify = { path = "../dart-notify" }lib-dispatch = { path = "../lib-dispatch" }lib-infra = { path = "../lib-infra" }-lib-sqlite = { path = "../lib-sqlite" }parking_lot = "0.11"diff --git a/frontend/rust-lib/lib-infra/Cargo.toml b/frontend/rust-lib/lib-infra/Cargo.tomlindex 355f38d8cd..c9a9c8808a 100644--- a/frontend/rust-lib/lib-infra/Cargo.toml+++ b/frontend/rust-lib/lib-infra/Cargo.toml@@ -11,7 +11,7 @@ diesel = {version = "1.4.8", features = ["sqlite"]}diesel_derives = {version = "1.4.1", features = ["sqlite"]}diesel_migrations = {version = "1.4.0", features = ["sqlite"]}flowy-derive = { path = "../../../shared-lib/flowy-derive" }-lib-sqlite = { path = "../lib-sqlite" }+lib-sqlite = { path = "../../../shared-lib/lib-sqlite" }lazy_static = "1.4.0"protobuf = {version = "2.18.0"}log = "0.4.14"diff --git a/shared-lib/Cargo.toml b/shared-lib/Cargo.tomlindex ab26a64afb..80961d62a2 100644--- a/shared-lib/Cargo.toml+++ b/shared-lib/Cargo.toml@@ -5,6 +5,7 @@ members = ["flowy-document-infra","lib-ot","lib-ws",+ "lib-sqlite","backend-service","flowy-derive","flowy-ast",diff --git a/frontend/rust-lib/lib-sqlite/Cargo.toml b/shared-lib/lib-sqlite/Cargo.tomlsimilarity index 100%rename from frontend/rust-lib/lib-sqlite/Cargo.tomlrename to shared-lib/lib-sqlite/Cargo.tomldiff --git a/frontend/rust-lib/lib-sqlite/src/conn_ext.rs b/shared-lib/lib-sqlite/src/conn_ext.rssimilarity index 100%rename from frontend/rust-lib/lib-sqlite/src/conn_ext.rsrename to shared-lib/lib-sqlite/src/conn_ext.rsdiff --git a/frontend/rust-lib/lib-sqlite/src/database.rs b/shared-lib/lib-sqlite/src/database.rssimilarity index 100%rename from frontend/rust-lib/lib-sqlite/src/database.rsrename to shared-lib/lib-sqlite/src/database.rsdiff --git a/frontend/rust-lib/lib-sqlite/src/errors.rs b/shared-lib/lib-sqlite/src/errors.rssimilarity index 100%rename from frontend/rust-lib/lib-sqlite/src/errors.rsrename to shared-lib/lib-sqlite/src/errors.rsdiff --git a/frontend/rust-lib/lib-sqlite/src/lib.rs b/shared-lib/lib-sqlite/src/lib.rssimilarity index 100%rename from frontend/rust-lib/lib-sqlite/src/lib.rsrename to shared-lib/lib-sqlite/src/lib.rsdiff --git a/frontend/rust-lib/lib-sqlite/src/pool.rs b/shared-lib/lib-sqlite/src/pool.rssimilarity index 100%rename from frontend/rust-lib/lib-sqlite/src/pool.rsrename to shared-lib/lib-sqlite/src/pool.rsdiff --git a/frontend/rust-lib/lib-sqlite/src/pragma.rs b/shared-lib/lib-sqlite/src/pragma.rssimilarity index 100%rename from frontend/rust-lib/lib-sqlite/src/pragma.rsrename to shared-lib/lib-sqlite/src/pragma.rs