Move RpcClient to zed_rpc and rename it to Peer

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-06-16 18:01:26 +02:00
parent 5e4872fdf8
commit 9de4d73ffb
13 changed files with 214 additions and 222 deletions

View file

@ -1,6 +1,4 @@
use crate::{
language::LanguageRegistry, rpc_client::RpcClient, settings, time::ReplicaId, AppState,
};
use crate::{language::LanguageRegistry, settings, time::ReplicaId, AppState};
use ctor::ctor;
use gpui::AppContext;
use rand::Rng;
@ -152,6 +150,6 @@ pub fn build_app_state(cx: &AppContext) -> AppState {
AppState {
settings,
language_registry,
rpc_client: RpcClient::new(),
rpc: zed_rpc::Peer::new(),
}
}