Merge pull request #27 from bastion-rs/fixes

Recent fixes
This commit is contained in:
Mahmut Bulut 2020-06-18 20:47:31 +02:00 committed by GitHub
commit abb4b012d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ uuid = { version = "0.8", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
rand = "0.7.3"
mio = { version = "0.7.0-alpha.1", features = ["os-poll", "udp"] }
futures = "0.3"
futures = "0.3.5"
pin-utils = "0.1.0-alpha.4"
libp2p = { version = "0.18", features = ["mdns"] }
bastion-executor = "0.3.4"

View File

@ -9,7 +9,7 @@ use pin_utils::pin_mut;
use std::{cell::Cell, sync::Arc};
use uuid::Uuid;
#[derive(Default, Clone)]
#[derive(Default, Debug, Clone)]
pub struct ArtilleryAPClusterConfig {
pub app_name: String,
pub node_id: Uuid,

View File

@ -70,6 +70,7 @@ impl MDNSServiceDiscovery {
format!("{}:{}", discovered_ip, discovered_port)
.parse()
.unwrap();
event_tx
.send(MDNSServiceDiscoveryEvent(discovered))
.unwrap();