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
|
|
|
flowy-sqlite = { path = "../flowy-sqlite", optional = true }
|
2023-05-17 01:49:39 +00:00
|
|
|
#flowy-document = { path = "../flowy-document" }
|
2023-04-13 10:53:51 +00:00
|
|
|
flowy-document2 = { path = "../flowy-document2" }
|
2023-05-17 01:49:39 +00:00
|
|
|
#flowy-revision = { path = "../flowy-revision" }
|
|
|
|
flowy-error = { path = "../flowy-error" }
|
2023-03-03 12:38:31 +00:00
|
|
|
flowy-task = { path = "../flowy-task" }
|
2023-05-21 10:53:59 +00:00
|
|
|
flowy-server = { path = "../flowy-server" }
|
2023-05-17 08:33:44 +00:00
|
|
|
flowy-config = { path = "../flowy-config" }
|
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"
|
|
|
|
|
|
|
|
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-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",
|
|
|
|
"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-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",
|
|
|
|
"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-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
|
|
|
]
|
|
|
|
rev-sqlite = [
|
|
|
|
"flowy-sqlite",
|
|
|
|
"flowy-user/rev-sqlite",
|
|
|
|
]
|
|
|
|
openssl_vendored = ["flowy-sqlite/openssl_vendored"]
|