From 833dd1a47b8d57ed0143eca53a70046d12aacf63 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sun, 8 Nov 2020 16:20:46 +0100 Subject: [PATCH] Expose fields of node list item Signed-off-by: trivernis --- Cargo.toml | 2 +- src/server/server_events.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7621c52..23d57e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vented" description = "Event driven encrypted tcp communicaton" -version = "0.6.1" +version = "0.6.2" authors = ["trivernis "] edition = "2018" readme = "README.md" diff --git a/src/server/server_events.rs b/src/server/server_events.rs index ac6c9ec..0d488bd 100644 --- a/src/server/server_events.rs +++ b/src/server/server_events.rs @@ -89,9 +89,9 @@ pub struct NodeListPayload { #[derive(Serialize, Deserialize)] pub struct NodeListElement { - id: String, - public_key: [u8; 32], - address: Option, + pub id: String, + pub public_key: [u8; 32], + pub address: Option, } impl VentedServer {