2021-07-13 14:28:01 +08:00
|
|
|
[package]
|
2022-01-27 20:39:54 +08:00
|
|
|
name = "flowy-folder"
|
2021-07-13 14:28:01 +08:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-01-30 11:11:19 +08:00
|
|
|
folder-model = { path = "../../../shared-lib/folder-model" }
|
|
|
|
flowy-client-sync = { path = "../flowy-client-sync"}
|
|
|
|
revision-model = { path = "../../../shared-lib/revision-model" }
|
|
|
|
ws-model = { path = "../../../shared-lib/ws-model" }
|
2022-12-30 11:16:47 +08:00
|
|
|
flowy-derive = { path = "../flowy-derive" }
|
2021-11-20 10:52:39 +08:00
|
|
|
lib-ot = { path = "../../../shared-lib/lib-ot" }
|
2021-12-13 13:55:44 +08:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
2021-11-20 10:52:39 +08:00
|
|
|
|
2022-10-13 23:29:37 +08:00
|
|
|
flowy-document = { path = "../flowy-document" }
|
2023-01-31 08:28:31 +08:00
|
|
|
flowy-sqlite = { path = "../flowy-sqlite", optional = true }
|
2023-01-30 11:11:19 +08:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["adaptor_database", "adaptor_dispatch"]}
|
2023-01-26 15:40:23 +08:00
|
|
|
flowy-notification = { path = "../flowy-notification" }
|
2021-11-20 10:52:39 +08:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2022-03-19 16:52:28 +08:00
|
|
|
flowy-revision = { path = "../flowy-revision" }
|
2023-01-12 13:09:08 +08:00
|
|
|
flowy-revision-persistence = { path = "../flowy-revision-persistence" }
|
2021-09-02 14:47:39 +08:00
|
|
|
|
2022-11-08 13:51:12 +08:00
|
|
|
parking_lot = "0.12.1"
|
2023-03-03 20:38:31 +08:00
|
|
|
protobuf = {version = "2.28.0"}
|
|
|
|
log = "0.4.17"
|
2021-11-17 14:17:46 +08:00
|
|
|
diesel = {version = "1.4.8", features = ["sqlite"]}
|
2021-07-13 14:28:01 +08:00
|
|
|
diesel_derives = {version = "1.4.1", features = ["sqlite"]}
|
2023-03-03 20:38:31 +08:00
|
|
|
futures = "0.3.26"
|
2022-12-19 10:47:40 +08:00
|
|
|
pin-project = "1.0"
|
2021-08-30 22:44:17 +08:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
2023-03-03 20:38:31 +08:00
|
|
|
tokio = { version = "1.26", features = ["rt"] }
|
2021-07-13 17:19:39 +08:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-07-21 22:41:44 +08:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2023-03-03 20:38:31 +08:00
|
|
|
bytes = { version = "1.4" }
|
|
|
|
unicode-segmentation = "1.10"
|
2022-12-30 11:16:47 +08:00
|
|
|
serde_json = "1.0"
|
2022-07-04 14:53:35 +08:00
|
|
|
|
2021-07-14 08:07:25 +08:00
|
|
|
[dev-dependencies]
|
2022-01-27 20:39:54 +08:00
|
|
|
flowy-folder = { path = "../flowy-folder", features = ["flowy_unit_test"]}
|
2022-01-19 16:00:11 +08:00
|
|
|
flowy-test = { path = "../flowy-test" }
|
2021-09-01 22:50:22 +08:00
|
|
|
|
2022-03-02 22:43:04 +08:00
|
|
|
[build-dependencies]
|
2022-12-30 11:16:47 +08:00
|
|
|
flowy-codegen = { path = "../flowy-codegen"}
|
2022-12-01 14:56:20 +08:00
|
|
|
|
2022-03-02 22:43:04 +08:00
|
|
|
|
2021-09-01 22:50:22 +08:00
|
|
|
[features]
|
2023-01-31 19:30:48 +08:00
|
|
|
default = ["rev-sqlite"]
|
2022-04-14 21:57:00 +08:00
|
|
|
sync = []
|
|
|
|
cloud_sync = ["sync"]
|
2023-01-31 08:28:31 +08:00
|
|
|
rev-sqlite = ["flowy-sqlite", "flowy-folder/rev-sqlite"]
|
2022-03-19 16:52:28 +08:00
|
|
|
flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
|
2023-01-26 15:40:23 +08:00
|
|
|
dart = ["flowy-codegen/dart", "flowy-notification/dart"]
|
|
|
|
ts = ["flowy-codegen/ts", "flowy-notification/ts"]
|