Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Replace rpc with proto dependency for the headless server crate (#19048)
Kirill Bulatove962839d137a
diff --git a/Cargo.lock b/Cargo.lockindex b3aafb5d626..846fd7b127b 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -5298,7 +5298,7 @@ dependencies = ["node_runtime","postage","project",- "rpc",+ "proto","settings","shellexpand 2.1.2","signal-hook",diff --git a/crates/headless/Cargo.toml b/crates/headless/Cargo.tomlindex 6cbc3f4f326..209e843c041 100644--- a/crates/headless/Cargo.toml+++ b/crates/headless/Cargo.toml@@ -19,11 +19,11 @@ extension.workspace = truesignal-hook.workspace = truegpui.workspace = truelog.workspace = true-rpc.workspace = trueutil.workspace = truenode_runtime.workspace = truelanguage.workspace = trueproject.workspace = true+proto.workspace = truefs.workspace = truefutures.workspace = truesettings.workspace = true@@ -34,5 +34,4 @@ postage.workspace = trueclient = { workspace = true, features = ["test-support"] }fs = { workspace = true, features = ["test-support"] }gpui = { workspace = true, features = ["test-support"] }-rpc = { workspace = true, features = ["test-support"] }util = { workspace = true, features = ["test-support"] }diff --git a/crates/headless/src/headless.rs b/crates/headless/src/headless.rsindex 14055776436..6f8f42fc0f7 100644--- a/crates/headless/src/headless.rs+++ b/crates/headless/src/headless.rs@@ -9,7 +9,7 @@ use language::LanguageRegistry;use node_runtime::NodeRuntime;use postage::stream::Stream;use project::Project;-use rpc::{proto, ErrorCode, TypedEnvelope};+use proto::{self, ErrorCode, TypedEnvelope};use settings::{Settings, SettingsStore};use std::path::Path;use std::{collections::HashMap, sync::Arc};