2021-09-09 15:43:05 +08:00
|
|
|
|
2021-07-31 10:50:56 +08:00
|
|
|
[package]
|
2022-10-13 23:29:37 +08:00
|
|
|
name = "flowy-document"
|
2021-07-31 10:50:56 +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]
|
2022-03-19 16:52:28 +08:00
|
|
|
flowy-sync = { path = "../../../shared-lib/flowy-sync"}
|
2021-11-20 10:52:39 +08:00
|
|
|
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
|
|
|
|
lib-ot = { path = "../../../shared-lib/lib-ot" }
|
|
|
|
|
lib-ws = { path = "../../../shared-lib/lib-ws" }
|
2021-12-13 13:55:44 +08:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
2021-11-20 10:52:39 +08:00
|
|
|
|
2021-11-19 14:38:11 +08:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2021-11-20 10:52:39 +08:00
|
|
|
flowy-database = { path = "../flowy-database" }
|
2022-03-19 16:52:28 +08:00
|
|
|
flowy-revision = { path = "../flowy-revision" }
|
2022-02-07 14:40:45 +08:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["collaboration", "ot", "http_server", "serde", "db"] }
|
2021-11-19 15:00:51 +08:00
|
|
|
dart-notify = { path = "../dart-notify" }
|
2021-09-09 15:43:05 +08:00
|
|
|
|
2021-11-17 14:17:46 +08:00
|
|
|
diesel = {version = "1.4.8", features = ["sqlite"]}
|
2021-07-31 10:50:56 +08:00
|
|
|
diesel_derives = {version = "1.4.1", features = ["sqlite"]}
|
|
|
|
|
protobuf = {version = "2.18.0"}
|
2021-11-12 21:44:26 +08:00
|
|
|
unicode-segmentation = "1.8"
|
2021-07-31 10:50:56 +08:00
|
|
|
log = "0.4.14"
|
2021-09-16 23:07:15 +08:00
|
|
|
tokio = {version = "1", features = ["sync"]}
|
2021-07-31 10:50:56 +08:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2022-09-13 11:38:19 +08:00
|
|
|
|
2021-12-15 23:01:50 +08:00
|
|
|
bytes = { version = "1.1" }
|
2022-10-22 21:57:44 +08:00
|
|
|
md5 = "0.7.0"
|
2021-08-30 22:44:17 +08:00
|
|
|
strum = "0.21"
|
|
|
|
|
strum_macros = "0.21"
|
2022-06-14 08:37:44 +08:00
|
|
|
dashmap = "5"
|
2021-09-22 23:21:44 +08:00
|
|
|
url = "2.2"
|
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
serde_json = {version = "1.0"}
|
|
|
|
|
chrono = "0.4.19"
|
2021-12-08 17:33:22 +08:00
|
|
|
futures-util = "0.3.15"
|
2021-10-01 19:39:08 +08:00
|
|
|
async-stream = "0.3.2"
|
|
|
|
|
futures = "0.3.15"
|
2021-08-30 22:44:17 +08:00
|
|
|
|
2021-07-31 10:50:56 +08:00
|
|
|
[dev-dependencies]
|
2021-09-09 15:43:05 +08:00
|
|
|
flowy-test = { path = "../flowy-test" }
|
2022-10-13 23:29:37 +08:00
|
|
|
flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
|
2022-03-19 16:23:34 +08:00
|
|
|
derive_more = {version = "0.99", features = ["display"]}
|
2022-09-13 11:38:19 +08:00
|
|
|
tracing-subscriber = "0.2.0"
|
2022-01-22 18:48:43 +08:00
|
|
|
|
2021-09-22 23:21:44 +08:00
|
|
|
color-eyre = { version = "0.5", default-features = false }
|
|
|
|
|
criterion = "0.3"
|
2022-04-28 21:16:28 +08:00
|
|
|
rand = "0.8.5"
|
2021-12-15 16:28:18 +08:00
|
|
|
|
2022-03-05 21:15:10 +08:00
|
|
|
[build-dependencies]
|
|
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra", features = ["protobuf_file_gen", "proto_gen"] }
|
|
|
|
|
|
2021-09-09 15:43:05 +08:00
|
|
|
[features]
|
2022-04-14 21:57:00 +08:00
|
|
|
sync = []
|
|
|
|
|
cloud_sync = ["sync"]
|
2022-03-19 16:52:28 +08:00
|
|
|
flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
|
2022-03-05 21:15:10 +08:00
|
|
|
dart = ["lib-infra/dart"]
|