AppFlowy-Cloud/libs/realtime/Cargo.toml

60 lines
1.7 KiB
TOML

[package]
name = "realtime"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix = "0.13"
actix-web-actors = { version = "4.2.0" }
serde.workspace = true
serde_json.workspace = true
thiserror = "1.0.56"
bytes = { version = "1.5", features = ["serde"] }
parking_lot = { version = "0.12.1", features = ["arc_lock"] }
tracing = "0.1.40"
futures-util = "0.3.30"
tokio-util = { version = "0.7", features = ["codec"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tokio = { version = "1.35.1", features = ["net", "sync", "macros"] }
async-trait = "0.1.77"
anyhow = "1.0.79"
serde_repr = "0.1.18"
tokio-retry = "0.3.0"
reqwest = "0.11.23"
app-error = { workspace = true }
dashmap.workspace = true
async-stream.workspace = true
futures.workspace = true
collab = { version = "0.1.0"}
collab-entity = { version = "0.1.0" }
collab-folder = { version = "0.1.0" }
collab-document = { version = "0.1.0" }
database = { path = "../database" }
database-entity.workspace = true
yrs.workspace = true
chrono = "0.4.31"
realtime-entity = { workspace = true, features = ["actix_message"] }
realtime-protocol.workspace = true
uuid = { version = "1", features = ["v4"] }
md5 = "0.7"
prometheus-client = "0.22.1"
indexmap = "2.2.5"
[dev-dependencies]
actix = "0.13"
actix-web = { version = "4.4.1" }
actix-rt = "2"
actix-web-actors = { version = "4.2.0" }
once_cell = "1.19.0"
reqwest = "0.11.23"
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter", "ansi", "json"] }
tracing-bunyan-formatter = "0.3.9"
tracing-log = "0.1.4"
serde-aux = "4.4.0"
tempfile = "3.9.0"
assert-json-diff = "2.0.2"