Skip to content

armgit / zed

Public Imported from GitHub
0

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.lock
index 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.toml
index 6cbc3f4f326..209e843c041 100644
--- a/crates/headless/Cargo.toml
+++ b/crates/headless/Cargo.toml
@@ -19,11 +19,11 @@ extension.workspace = true
signal-hook.workspace = true
gpui.workspace = true
log.workspace = true
-rpc.workspace = true
util.workspace = true
node_runtime.workspace = true
language.workspace = true
project.workspace = true
+proto.workspace = true
fs.workspace = true
futures.workspace = true
settings.workspace = true
@@ -34,5 +34,4 @@ postage.workspace = true
client = { 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.rs
index 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};