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]
|
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
|
|
|
lib-log = { path = "../lib-log" }
|
|
|
|
flowy-user = { path = "../flowy-user" }
|
|
|
|
flowy-net = { path = "../flowy-net" }
|
2023-04-04 00:41:16 +00:00
|
|
|
flowy-folder2 = { path = "../flowy-folder2" }
|
2023-04-28 06:08:53 +00:00
|
|
|
#flowy-database = { path = "../flowy-database" }
|
|
|
|
flowy-database2 = { path = "../flowy-database2" }
|
2023-03-03 12:38:31 +00:00
|
|
|
database-model = { path = "../../../shared-lib/database-model" }
|
|
|
|
user-model = { path = "../../../shared-lib/user-model" }
|
|
|
|
flowy-client-ws = { path = "../../../shared-lib/flowy-client-ws" }
|
|
|
|
flowy-sqlite = { path = "../flowy-sqlite", optional = true }
|
|
|
|
flowy-document = { path = "../flowy-document" }
|
2023-04-13 10:53:51 +00:00
|
|
|
flowy-document2 = { path = "../flowy-document2" }
|
2023-03-03 12:38:31 +00:00
|
|
|
flowy-revision = { path = "../flowy-revision" }
|
|
|
|
flowy-error = { path = "../flowy-error", features = ["adaptor_ws"] }
|
|
|
|
flowy-task = { path = "../flowy-task" }
|
2023-05-15 14:16:05 +00:00
|
|
|
appflowy-integrate = { version = "0.1.0" }
|
2023-03-03 12:38:31 +00:00
|
|
|
|
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
|
|
futures-core = { version = "0.3", default-features = false }
|
|
|
|
bytes = "1.4"
|
|
|
|
tokio = { version = "1.26", features = ["full"] }
|
|
|
|
console-subscriber = { version = "0.1.8", optional = true }
|
|
|
|
parking_lot = "0.12.1"
|
|
|
|
|
|
|
|
revision-model = { path = "../../../shared-lib/revision-model" }
|
|
|
|
ws-model = { path = "../../../shared-lib/ws-model" }
|
|
|
|
lib-ws = { path = "../../../shared-lib/lib-ws" }
|
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["rev-sqlite"]
|
|
|
|
profiling = ["console-subscriber", "tokio/tracing"]
|
2023-04-28 06:08:53 +00:00
|
|
|
http_sync = ["flowy-document/cloud_sync"]
|
|
|
|
native_sync = ["flowy-document/cloud_sync"]
|
2023-03-03 12:38:31 +00:00
|
|
|
use_bunyan = ["lib-log/use_bunyan"]
|
|
|
|
dart = [
|
|
|
|
"flowy-user/dart",
|
|
|
|
"flowy-net/dart",
|
2023-04-04 00:41:16 +00:00
|
|
|
"flowy-folder2/dart",
|
2023-04-28 06:08:53 +00:00
|
|
|
"flowy-database2/dart",
|
2023-03-03 12:38:31 +00:00
|
|
|
"flowy-document/dart",
|
2023-04-13 10:53:51 +00:00
|
|
|
"flowy-document2/dart",
|
2023-03-03 12:38:31 +00:00
|
|
|
]
|
|
|
|
ts = [
|
|
|
|
"flowy-user/ts",
|
|
|
|
"flowy-net/ts",
|
2023-04-04 00:41:16 +00:00
|
|
|
"flowy-folder2/ts",
|
2023-04-28 06:08:53 +00:00
|
|
|
"flowy-database2/ts",
|
2023-03-03 12:38:31 +00:00
|
|
|
"flowy-document/ts",
|
2023-04-13 10:53:51 +00:00
|
|
|
"flowy-document2/ts",
|
2023-03-03 12:38:31 +00:00
|
|
|
]
|
|
|
|
rev-sqlite = [
|
|
|
|
"flowy-sqlite",
|
|
|
|
"flowy-user/rev-sqlite",
|
|
|
|
"flowy-document/rev-sqlite",
|
|
|
|
]
|
|
|
|
openssl_vendored = ["flowy-sqlite/openssl_vendored"]
|