Allowed for calling get_topology from outside the crate

This commit is contained in:
Jedrzej Stuczynski
2020-01-08 10:13:26 +00:00
parent 46ce9eaff7
commit 2cef804a34
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ mod commands;
mod identity;
mod persistence;
mod sockets;
mod utils;
pub mod utils;
fn main() {
let arg_matches = App::new("Nym Client")
+1 -1
View File
@@ -10,7 +10,7 @@ use sphinx::route::Node as SphinxNode;
use std::collections::HashMap;
use std::net::SocketAddr;
pub(crate) fn get_topology(directory_server: String) -> Topology {
pub fn get_topology(directory_server: String) -> Topology {
println!("Using directory server: {:?}", directory_server);
let directory_config = directory::Config {
base_url: directory_server,