Remove REST endpoints from zed-rpc

Antonio Scandurra and Max Brunsfeld created

Co-Authored-By: Max Brunsfeld <max@zed.dev>

Change summary

zed-rpc/src/lib.rs  | 1 -
zed-rpc/src/rest.rs | 8 --------
2 files changed, 9 deletions(-)

Detailed changes

zed-rpc/src/lib.rs 🔗

@@ -1,7 +1,6 @@
 pub mod auth;
 mod peer;
 pub mod proto;
-pub mod rest;
 #[cfg(test)]
 mod test;
 

zed-rpc/src/rest.rs 🔗

@@ -1,8 +0,0 @@
-use serde::{Deserialize, Serialize};
-
-#[derive(Serialize, Deserialize)]
-pub struct GetRpcAddressResponse {
-    pub address: String,
-}
-
-pub const GET_RPC_ADDRESS_PATH: &'static str = "/api/rpc-address";