socks5: allow some unused methods temporarily

This commit is contained in:
Jon Häggblad
2022-06-10 14:34:53 +02:00
parent 6976be3e3a
commit 437b3b6885
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -88,6 +88,7 @@ pub fn command_args<'a, 'b>() -> clap::App<'a, 'b> {
app
}
// TODO: make this private again after refactoring the config setup
pub async fn register_with_gateway(
gateway: &gateway::Node,
our_identity: Arc<identity::KeyPair>,
@@ -110,6 +111,7 @@ pub async fn register_with_gateway(
.expect("failed to register with the gateway!")
}
// TODO: make this private again after refactoring the config setup
pub async fn gateway_details(
validator_servers: Vec<Url>,
chosen_gateway_id: Option<&str>,
@@ -144,6 +146,7 @@ pub async fn gateway_details(
}
}
// TODO: make this private again after refactoring the config setup
pub fn show_address(config: &Config) {
fn load_identity_keys(pathfinder: &ClientKeyPathfinder) -> identity::KeyPair {
let identity_keypair: identity::KeyPair =
+4
View File
@@ -2,5 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
pub mod client;
// This is only used as we reach into the init functions in nym-connect. We need to refactor the
// init functions so that nym-connect can just call the same init function as the regular socks5
// client.
#[allow(unused)]
pub mod commands;
pub mod socks;