2021-07-13 06:28:01 +00:00
|
|
|
[package]
|
2022-01-27 12:39:54 +00:00
|
|
|
name = "flowy-folder"
|
2021-07-13 06:28:01 +00: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 03:11:19 +00: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 03:16:47 +00:00
|
|
|
flowy-derive = { path = "../flowy-derive" }
|
2021-11-20 02:52:39 +00:00
|
|
|
lib-ot = { path = "../../../shared-lib/lib-ot" }
|
2021-12-13 05:55:44 +00:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
2021-11-20 02:52:39 +00:00
|
|
|
|
2022-10-13 15:29:37 +00:00
|
|
|
flowy-document = { path = "../flowy-document" }
|
2023-01-31 00:28:31 +00:00
|
|
|
flowy-sqlite = { path = "../flowy-sqlite", optional = true }
|
2023-01-30 03:11:19 +00:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["adaptor_database", "adaptor_dispatch"]}
|
2023-01-26 07:40:23 +00:00
|
|
|
flowy-notification = { path = "../flowy-notification" }
|
2021-11-20 02:52:39 +00:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2022-03-19 08:52:28 +00:00
|
|
|
flowy-revision = { path = "../flowy-revision" }
|
2023-01-12 05:09:08 +00:00
|
|
|
flowy-revision-persistence = { path = "../flowy-revision-persistence" }
|
2021-09-02 06:47:39 +00:00
|
|
|
|
2022-11-08 05:51:12 +00:00
|
|
|
parking_lot = "0.12.1"
|
2021-07-13 06:28:01 +00:00
|
|
|
protobuf = {version = "2.18.0"}
|
2021-07-13 09:19:39 +00:00
|
|
|
log = "0.4.14"
|
2021-11-17 06:17:46 +00:00
|
|
|
diesel = {version = "1.4.8", features = ["sqlite"]}
|
2021-07-13 06:28:01 +00:00
|
|
|
diesel_derives = {version = "1.4.1", features = ["sqlite"]}
|
2021-10-13 15:11:45 +00:00
|
|
|
futures = "0.3.15"
|
2022-12-19 02:47:40 +00:00
|
|
|
pin-project = "1.0"
|
2021-08-30 14:44:17 +00:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
2021-09-02 06:47:39 +00:00
|
|
|
tokio = { version = "1", features = ["rt"] }
|
2021-07-13 09:19:39 +00:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-07-21 14:41:44 +00:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2021-08-20 14:00:03 +00:00
|
|
|
bytes = { version = "1.0" }
|
2022-07-04 06:28:41 +00:00
|
|
|
unicode-segmentation = "1.8"
|
2022-12-30 03:16:47 +00:00
|
|
|
serde_json = "1.0"
|
2022-07-04 06:53:35 +00:00
|
|
|
|
2021-07-14 00:07:25 +00:00
|
|
|
[dev-dependencies]
|
2022-01-27 12:39:54 +00:00
|
|
|
flowy-folder = { path = "../flowy-folder", features = ["flowy_unit_test"]}
|
2022-01-19 08:00:11 +00:00
|
|
|
flowy-test = { path = "../flowy-test" }
|
2021-09-01 14:50:22 +00:00
|
|
|
|
2022-03-02 14:43:04 +00:00
|
|
|
[build-dependencies]
|
2022-12-30 03:16:47 +00:00
|
|
|
flowy-codegen = { path = "../flowy-codegen"}
|
2022-12-01 06:56:20 +00:00
|
|
|
|
2022-03-02 14:43:04 +00:00
|
|
|
|
2021-09-01 14:50:22 +00:00
|
|
|
[features]
|
2023-01-31 11:30:48 +00:00
|
|
|
default = ["rev-sqlite"]
|
2022-04-14 13:57:00 +00:00
|
|
|
sync = []
|
|
|
|
cloud_sync = ["sync"]
|
2023-01-31 00:28:31 +00:00
|
|
|
rev-sqlite = ["flowy-sqlite", "flowy-folder/rev-sqlite"]
|
2022-03-19 08:52:28 +00:00
|
|
|
flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
|
2023-01-26 07:40:23 +00:00
|
|
|
dart = ["flowy-codegen/dart", "flowy-notification/dart"]
|
|
|
|
ts = ["flowy-codegen/ts", "flowy-notification/ts"]
|