AppFlowy/frontend/rust-lib/flowy-document/Cargo.toml

68 lines
2.2 KiB
TOML
Raw Normal View History

2021-07-31 02:50:56 +00:00
[package]
2022-10-13 15:29:37 +00:00
name = "flowy-document"
2021-07-31 02:50:56 +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
flowy-client-sync = { path = "../flowy-client-sync"}
revision-model = { path = "../../../shared-lib/revision-model"}
document-model = { path = "../../../shared-lib/document-model"}
ws-model = { path = "../../../shared-lib/ws-model"}
flowy-derive = { path = "../flowy-derive" }
2021-11-20 02:52:39 +00:00
lib-ot = { path = "../../../shared-lib/lib-ot" }
lib-ws = { path = "../../../shared-lib/lib-ws" }
2021-12-13 05:55:44 +00:00
lib-infra = { path = "../../../shared-lib/lib-infra" }
2021-11-20 02:52:39 +00:00
lib-dispatch = { path = "../lib-dispatch" }
flowy-sqlite = { path = "../flowy-sqlite", optional = true }
2022-03-19 08:52:28 +00:00
flowy-revision = { path = "../flowy-revision" }
flowy-revision-persistence = { path = "../flowy-revision-persistence" }
2023-01-30 03:11:19 +00:00
flowy-error = { path = "../flowy-error", features = ["adaptor_sync", "adaptor_ot", "adaptor_serde", "adaptor_database", "adaptor_dispatch"] }
flowy-notification = { path = "../flowy-notification" }
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"]}
2023-03-03 12:38:31 +00:00
protobuf = {version = "2.28.0"}
tokio = { version = "1.26", features = ["sync"]}
2021-07-31 02:50:56 +00:00
tracing = { version = "0.1", features = ["log"] }
2022-09-13 03:38:19 +00:00
2023-03-03 12:38:31 +00:00
bytes = { version = "1.4" }
2022-10-22 13:57:44 +00:00
md5 = "0.7.0"
2021-08-30 14:44:17 +00:00
strum = "0.21"
strum_macros = "0.21"
2022-06-14 00:37:44 +00:00
dashmap = "5"
2023-03-03 12:38:31 +00:00
url = "2.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = {version = "1.0"}
2023-03-03 12:38:31 +00:00
chrono = "0.4.23"
futures-util = "0.3.26"
async-stream = "0.3.4"
futures = "0.3.26"
2021-08-30 14:44:17 +00:00
2021-07-31 02:50:56 +00:00
[dev-dependencies]
flowy-test = { path = "../flowy-test" }
2022-10-13 15:29:37 +00:00
flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
2022-03-19 08:23:34 +00:00
derive_more = {version = "0.99", features = ["display"]}
2023-03-03 12:38:31 +00:00
tracing-subscriber = "0.2.25"
unicode-segmentation = "1.10"
2022-01-22 10:48:43 +00:00
color-eyre = { version = "0.5", default-features = false }
criterion = "0.3"
2022-04-28 13:16:28 +00:00
rand = "0.8.5"
2021-12-15 08:28:18 +00:00
[build-dependencies]
flowy-codegen = { path = "../flowy-codegen"}
2022-12-01 06:56:20 +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"]
rev-sqlite = ["flowy-sqlite"]
2022-03-19 08:52:28 +00:00
flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
dart = ["flowy-codegen/dart", "flowy-notification/dart"]
ts = ["flowy-codegen/ts", "flowy-notification/ts"]