From e962839d137ac3a6a98af01bc2e02d7dbeaa2119 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 11 Oct 2024 01:36:40 +0300 Subject: [PATCH] Replace rpc with proto dependency for the headless server crate (#19048) Release Notes: - N/A --- Cargo.lock | 2 +- crates/headless/Cargo.toml | 3 +-- crates/headless/src/headless.rs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b3aafb5d62..846fd7b127 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 6cbc3f4f32..209e843c04 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 1405577643..6f8f42fc0f 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};