From d0660f41de9ebd8f1263e4113f0494e2d55759a1 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 7 Jul 2021 18:53:00 +0200 Subject: [PATCH] Remove REST endpoints from zed-rpc Co-Authored-By: Max Brunsfeld --- zed-rpc/src/lib.rs | 1 - zed-rpc/src/rest.rs | 8 -------- 2 files changed, 9 deletions(-) delete mode 100644 zed-rpc/src/rest.rs diff --git a/zed-rpc/src/lib.rs b/zed-rpc/src/lib.rs index fb09ec07a7..b5bd62e07e 100644 --- a/zed-rpc/src/lib.rs +++ b/zed-rpc/src/lib.rs @@ -1,7 +1,6 @@ pub mod auth; mod peer; pub mod proto; -pub mod rest; #[cfg(test)] mod test; diff --git a/zed-rpc/src/rest.rs b/zed-rpc/src/rest.rs deleted file mode 100644 index 097f68ddc7..0000000000 --- a/zed-rpc/src/rest.rs +++ /dev/null @@ -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";