Move RpcClient
to zed_rpc
and rename it to Peer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
5e4872fdf8
commit
9de4d73ffb
13 changed files with 214 additions and 222 deletions
|
@ -1,4 +1,3 @@
|
|||
use rpc_client::RpcClient;
|
||||
use std::sync::Arc;
|
||||
|
||||
pub mod assets;
|
||||
|
@ -7,7 +6,6 @@ pub mod file_finder;
|
|||
pub mod language;
|
||||
pub mod menus;
|
||||
mod operation_queue;
|
||||
pub mod rpc_client;
|
||||
pub mod settings;
|
||||
mod sum_tree;
|
||||
#[cfg(test)]
|
||||
|
@ -21,7 +19,7 @@ mod worktree;
|
|||
pub struct AppState {
|
||||
pub settings: postage::watch::Receiver<settings::Settings>,
|
||||
pub language_registry: std::sync::Arc<language::LanguageRegistry>,
|
||||
pub rpc_client: Arc<RpcClient>,
|
||||
pub rpc: Arc<zed_rpc::Peer>,
|
||||
}
|
||||
|
||||
pub fn init(cx: &mut gpui::MutableAppContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue