2021-09-09 07:43:05 +00:00
|
|
|
|
2021-07-31 02:50:56 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-document"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-11-20 02:52:39 +00:00
|
|
|
flowy-document-infra = { path = "../../../shared-lib/flowy-document-infra" }
|
|
|
|
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
|
|
|
lib-ot = { path = "../../../shared-lib/lib-ot" }
|
|
|
|
lib-ws = { path = "../../../shared-lib/lib-ws" }
|
|
|
|
backend-service = { path = "../../../shared-lib/backend-service" }
|
|
|
|
|
2021-07-31 02:50:56 +00:00
|
|
|
derive_more = {version = "0.99", features = ["display"]}
|
2021-11-19 06:38:11 +00:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
|
|
|
lib-infra = { path = "../lib-infra" }
|
2021-11-20 02:52:39 +00:00
|
|
|
flowy-database = { path = "../flowy-database" }
|
2021-11-19 07:00:51 +00:00
|
|
|
dart-notify = { path = "../dart-notify" }
|
2021-09-09 07:43:05 +00:00
|
|
|
|
2021-09-13 15:09:57 +00:00
|
|
|
|
2021-11-17 06:17:46 +00:00
|
|
|
diesel = {version = "1.4.8", features = ["sqlite"]}
|
2021-07-31 02:50:56 +00:00
|
|
|
diesel_derives = {version = "1.4.1", features = ["sqlite"]}
|
|
|
|
protobuf = {version = "2.18.0"}
|
2021-11-12 13:44:26 +00:00
|
|
|
unicode-segmentation = "1.8"
|
2021-07-31 02:50:56 +00:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
log = "0.4.14"
|
2021-09-16 15:07:15 +00:00
|
|
|
tokio = {version = "1", features = ["sync"]}
|
2021-07-31 02:50:56 +00:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2021-08-20 14:00:03 +00:00
|
|
|
bytes = { version = "1.0" }
|
2021-08-30 14:44:17 +00:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
2021-09-13 15:09:57 +00:00
|
|
|
dashmap = "4.0"
|
2021-09-20 07:38:55 +00:00
|
|
|
parking_lot = "0.11"
|
2021-09-22 15:21:44 +00:00
|
|
|
bytecount = "0.6.0"
|
|
|
|
url = "2.2"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = {version = "1.0"}
|
|
|
|
chrono = "0.4.19"
|
2021-09-23 07:49:10 +00:00
|
|
|
futures-core = { version = "0.3", default-features = false }
|
2021-12-08 09:33:22 +00:00
|
|
|
futures-util = "0.3.15"
|
2021-09-24 08:02:17 +00:00
|
|
|
byteorder = {version = "1.3.4"}
|
2021-10-01 11:39:08 +00:00
|
|
|
async-stream = "0.3.2"
|
|
|
|
futures = "0.3.15"
|
2021-10-07 12:46:29 +00:00
|
|
|
pin-project = "1.0.0"
|
2021-08-30 14:44:17 +00:00
|
|
|
|
2021-07-31 02:50:56 +00:00
|
|
|
[dev-dependencies]
|
2021-09-09 07:43:05 +00:00
|
|
|
flowy-test = { path = "../flowy-test" }
|
2021-12-08 13:51:06 +00:00
|
|
|
flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
|
2021-09-22 15:21:44 +00:00
|
|
|
color-eyre = { version = "0.5", default-features = false }
|
|
|
|
criterion = "0.3"
|
|
|
|
rand = "0.7.3"
|
|
|
|
env_logger = "0.8.2"
|
|
|
|
|
2021-09-09 07:43:05 +00:00
|
|
|
|
|
|
|
[features]
|
2021-09-29 09:40:34 +00:00
|
|
|
http_server = []
|
2021-12-08 13:51:06 +00:00
|
|
|
flowy_unit_test = ["lib-ot/flowy_unit_test"]
|