2023-03-03 12:38:31 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-core"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-09-17 09:14:34 +00:00
|
|
|
lib-dispatch = { workspace = true }
|
|
|
|
lib-log = { workspace = true }
|
|
|
|
flowy-user = { workspace = true }
|
|
|
|
flowy-user-deps = { workspace = true }
|
|
|
|
flowy-folder2 = { workspace = true }
|
|
|
|
flowy-folder-deps = { workspace = true }
|
|
|
|
flowy-database2 = { workspace = true }
|
|
|
|
flowy-database-deps = { workspace = true }
|
|
|
|
flowy-sqlite = { workspace = true }
|
|
|
|
flowy-document2 = { workspace = true }
|
|
|
|
flowy-document-deps = { workspace = true }
|
|
|
|
flowy-error = { workspace = true }
|
|
|
|
flowy-task = { workspace = true }
|
|
|
|
flowy-server = { workspace = true }
|
|
|
|
flowy-server-config = { workspace = true }
|
|
|
|
flowy-config = { workspace = true }
|
2023-10-02 07:12:24 +00:00
|
|
|
flowy-date = { workspace = true }
|
2023-09-17 09:14:34 +00:00
|
|
|
collab-integrate = { workspace = true, features = ["supabase_integrate", "appflowy_cloud_integrate", "snapshot_plugin"] }
|
2023-09-19 02:37:37 +00:00
|
|
|
flowy-ai = { workspace = true }
|
2023-10-10 11:05:55 +00:00
|
|
|
collab-entity = { version = "0.1.0" }
|
|
|
|
collab-plugins = { version = "0.1.0" }
|
2023-09-17 09:14:34 +00:00
|
|
|
collab = { version = "0.1.0" }
|
2023-06-06 08:03:29 +00:00
|
|
|
diesel = { version = "1.4.8", features = ["sqlite"] }
|
|
|
|
uuid = { version = "1.3.3", features = ["v4"] }
|
2023-09-17 09:14:34 +00:00
|
|
|
flowy-storage = { workspace = true }
|
2023-10-02 09:22:22 +00:00
|
|
|
client-api = { version = "0.1.0", features = ["collab-sync"] }
|
2023-03-03 12:38:31 +00:00
|
|
|
|
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
|
|
futures-core = { version = "0.3", default-features = false }
|
2023-09-24 07:50:58 +00:00
|
|
|
bytes = "1.5"
|
2023-03-03 12:38:31 +00:00
|
|
|
tokio = { version = "1.26", features = ["full"] }
|
2023-10-02 09:22:22 +00:00
|
|
|
tokio-stream = {version = "0.1.14", features = ["sync"]}
|
2023-03-03 12:38:31 +00:00
|
|
|
console-subscriber = { version = "0.1.8", optional = true }
|
|
|
|
parking_lot = "0.12.1"
|
2023-09-17 09:14:34 +00:00
|
|
|
anyhow = "1.0.75"
|
2023-03-03 12:38:31 +00:00
|
|
|
|
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2023-05-23 15:55:21 +00:00
|
|
|
serde_repr = "0.1"
|
2023-03-03 12:38:31 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["rev-sqlite"]
|
|
|
|
profiling = ["console-subscriber", "tokio/tracing"]
|
2023-05-16 06:58:24 +00:00
|
|
|
http_sync = []
|
|
|
|
native_sync = []
|
2023-03-03 12:38:31 +00:00
|
|
|
use_bunyan = ["lib-log/use_bunyan"]
|
|
|
|
dart = [
|
|
|
|
"flowy-user/dart",
|
2023-10-02 07:12:24 +00:00
|
|
|
"flowy-date/dart",
|
2023-04-04 00:41:16 +00:00
|
|
|
"flowy-folder2/dart",
|
2023-04-28 06:08:53 +00:00
|
|
|
"flowy-database2/dart",
|
2023-04-13 10:53:51 +00:00
|
|
|
"flowy-document2/dart",
|
2023-05-17 08:33:44 +00:00
|
|
|
"flowy-config/dart",
|
2023-03-03 12:38:31 +00:00
|
|
|
]
|
|
|
|
ts = [
|
|
|
|
"flowy-user/ts",
|
2023-10-02 07:12:24 +00:00
|
|
|
"flowy-date/ts",
|
2023-04-04 00:41:16 +00:00
|
|
|
"flowy-folder2/ts",
|
2023-04-28 06:08:53 +00:00
|
|
|
"flowy-database2/ts",
|
2023-04-13 10:53:51 +00:00
|
|
|
"flowy-document2/ts",
|
2023-05-17 08:33:44 +00:00
|
|
|
"flowy-config/ts",
|
2023-03-03 12:38:31 +00:00
|
|
|
]
|
2023-10-02 07:12:24 +00:00
|
|
|
rev-sqlite = ["flowy-user/rev-sqlite"]
|
2023-03-03 12:38:31 +00:00
|
|
|
openssl_vendored = ["flowy-sqlite/openssl_vendored"]
|
2023-09-17 09:14:34 +00:00
|
|
|
|