1[package]
2description = "Shared logic for communication between the Zed app and the zed.dev server"
3edition = "2021"
4name = "rpc"
5version = "0.1.0"
6publish = false
7license = "GPL-3.0-or-later"
8
9[lib]
10path = "src/rpc.rs"
11doctest = false
12
13[features]
14test-support = ["collections/test-support", "gpui/test-support"]
15
16[dependencies]
17anyhow.workspace = true
18async-lock = "2.4"
19async-tungstenite = "0.16"
20base64 = "0.13"
21clock = { path = "../clock" }
22collections = { path = "../collections" }
23futures.workspace = true
24gpui = { path = "../gpui", optional = true }
25parking_lot.workspace = true
26prost.workspace = true
27rand.workspace = true
28rsa = "0.4"
29serde.workspace = true
30serde_derive.workspace = true
31serde_json.workspace = true
32smol-timeout = "0.6"
33strum.workspace = true
34tracing = { version = "0.1.34", features = ["log"] }
35util = { path = "../util" }
36zstd = "0.11"
37
38[build-dependencies]
39prost-build = "0.9"
40
41[dev-dependencies]
42collections = { path = "../collections", features = ["test-support"] }
43ctor.workspace = true
44env_logger.workspace = true
45gpui = { path = "../gpui", features = ["test-support"] }
46smol.workspace = true
47tempfile.workspace = true