Replace rpc with proto dependency for the headless server crate (#19048)

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2024-10-11 01:36:40 +03:00 committed by GitHub
parent eea600ecc3
commit e962839d13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

2
Cargo.lock generated
View file

@ -5298,7 +5298,7 @@ dependencies = [
"node_runtime",
"postage",
"project",
"rpc",
"proto",
"settings",
"shellexpand 2.1.2",
"signal-hook",

View file

@ -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"] }

View file

@ -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};