2023-04-13 10:53:51 +00:00
|
|
|
[package]
|
2023-12-30 23:29:40 +00:00
|
|
|
name = "flowy-document"
|
2023-04-13 10:53:51 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2024-01-06 03:50:05 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2023-04-13 10:53:51 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-05-06 03:30:13 +00:00
|
|
|
collab = { workspace = true }
|
|
|
|
collab-document = { workspace = true }
|
|
|
|
collab-entity = { workspace = true }
|
|
|
|
collab-plugins = { workspace = true }
|
2024-01-06 03:50:05 +00:00
|
|
|
collab-integrate = { workspace = true }
|
2024-01-11 06:42:03 +00:00
|
|
|
flowy-document-pub = { workspace = true }
|
2024-06-19 23:44:57 +00:00
|
|
|
flowy-storage-pub = { workspace = true }
|
2023-12-30 23:29:40 +00:00
|
|
|
flowy-derive.workspace = true
|
2024-05-06 03:30:13 +00:00
|
|
|
flowy-notification = { workspace = true }
|
2024-01-29 21:36:27 +00:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["impl_from_serde", "impl_from_dispatch_error", "impl_from_collab_document", "impl_from_collab_persistence"] }
|
2023-09-17 09:14:34 +00:00
|
|
|
lib-dispatch = { workspace = true }
|
2023-12-30 23:29:40 +00:00
|
|
|
lib-infra = { workspace = true }
|
2024-01-22 05:34:15 +00:00
|
|
|
validator = { version = "0.16.0", features = ["derive"] }
|
2023-11-12 13:18:27 +00:00
|
|
|
protobuf.workspace = true
|
|
|
|
bytes.workspace = true
|
2023-04-13 10:53:51 +00:00
|
|
|
nanoid = "0.4.0"
|
|
|
|
strum_macros = "0.21"
|
2023-11-12 13:18:27 +00:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
|
|
|
tracing.workspace = true
|
2024-01-06 03:50:05 +00:00
|
|
|
tokio = { workspace = true, features = ["rt"] }
|
2023-11-12 13:18:27 +00:00
|
|
|
anyhow.workspace = true
|
2024-05-06 03:30:13 +00:00
|
|
|
indexmap = { version = "2.1.0", features = ["serde"] }
|
2023-11-12 13:18:27 +00:00
|
|
|
uuid.workspace = true
|
|
|
|
futures.workspace = true
|
|
|
|
tokio-stream = { workspace = true, features = ["sync"] }
|
2024-08-11 12:39:25 +00:00
|
|
|
dashmap.workspace = true
|
2023-11-02 14:13:29 +00:00
|
|
|
scraper = "0.18.0"
|
2023-04-24 06:25:00 +00:00
|
|
|
|
2024-01-06 03:50:05 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2024-05-06 03:30:13 +00:00
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2024-01-06 03:50:05 +00:00
|
|
|
|
2023-04-24 06:25:00 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3.4.0"
|
|
|
|
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
|
2023-10-25 13:35:47 +00:00
|
|
|
collab-integrate = { workspace = true }
|
2024-06-05 04:40:31 +00:00
|
|
|
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
2023-04-13 10:53:51 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-12-30 23:29:40 +00:00
|
|
|
flowy-codegen.workspace = true
|
2023-04-13 10:53:51 +00:00
|
|
|
|
|
|
|
[features]
|
2024-01-29 21:36:27 +00:00
|
|
|
dart = ["flowy-codegen/dart"]
|
|
|
|
tauri_ts = ["flowy-codegen/ts"]
|
|
|
|
web_ts = [
|
2024-01-22 05:34:15 +00:00
|
|
|
"flowy-codegen/ts",
|
|
|
|
]
|
2024-04-07 13:36:55 +00:00
|
|
|
|
|
|
|
# search "Enable/Disable AppFlowy Verbose Log" to find the place that can enable verbose log
|
2024-04-02 02:14:09 +00:00
|
|
|
verbose_log = ["collab-document/verbose_log"]
|