AppFlowy-Cloud/libs/client-api/Cargo.toml

46 lines
1.3 KiB
TOML

[package]
name = "client-api"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "0.11.20", default-features = false, features = ["json","multipart"] }
anyhow = "1.0.75"
serde_json = "1.0.105"
serde_repr = "0.1.16"
gotrue = { path = "../gotrue" }
gotrue-entity = { path = "../gotrue-entity" }
shared_entity = { path = "../shared-entity" }
database-entity = { path = "../database-entity" }
opener = "0.6.1"
url = "2.4.1"
tokio-stream = { version = "0.1.14" }
parking_lot = "0.12.1"
mime = "0.3.17"
# ws
tracing = { version = "0.1" }
thiserror = "1.0.39"
serde = { version = "1.0", features = ["derive"] }
tokio-tungstenite = { version = "0.20.1" }
tokio = { version = "1.26", features = ["full"] }
futures-util = "0.3.26"
futures-core = "0.3.26"
tokio-retry = "0.3"
bytes = "1.0"
uuid = "1.4.1"
collab-sync-protocol = { version = "0.1.0" }
scraper = "0.17.1"
# collab sync
collab = { version = "0.1.0", optional = true }
collab-define = { version = "0.1.0", optional = true }
y-sync = { version = "0.3.1", optional = true }
yrs = { version = "0.16.5", optional = true }
lib0 = { version = "0.16.3", features = ["lib0-serde"], optional = true }
[features]
collab-sync = ["collab", "collab-define", "y-sync", "yrs", "lib0"]