[package]
name = "realtime-entity"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
collab = { version = "0.1.0" }
collab-entity = { version = "0.1.0" }
serde.workspace = true
serde_json.workspace = true
bytes = { version = "1.0", features = ["serde"] }
anyhow = "1.0.75"
actix = { version = "0.13", optional = true }
bincode = "1.3.3"
tokio-tungstenite = { version = "0.20.1", optional = true }
prost = "0.12.1"
database-entity.workspace = true

[features]
actix_message = ["actix"]
tungstenite = ["tokio-tungstenite"]

[build-dependencies]
protoc-bin-vendored = { version = "3.0" }
prost-build = "0.12.1"
