b473aeb3be
* task dependency * unifying some startup code and passing TaskClient around * graceful shutdown handling for mix socket listener * graceful shutdown handling for clients listener * graceful shutdown handling for packet forwarding * unified waiting for interrupt across binaries * made 'validate_bech32_address_or_exit' into a function that returns proper Result * printing formatted message on main error * fixed failing test * removed duplicate code that should have been gone ages ago * ibid * removed biased selection for authenticated handler * minor refactoring to 'ensure_config_version_compatibility'
14 lines
381 B
Rust
14 lines
381 B
Rust
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub mod manager;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub mod signal;
|
|
pub mod spawn;
|
|
|
|
pub use manager::{StatusReceiver, StatusSender, TaskClient, TaskManager};
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub use signal::wait_for_signal_and_error;
|
|
|
|
pub use spawn::spawn_with_report_error;
|