8de9f36b69
* experimenting with extracting more common client code * drying up the wasm client * allowing some dead code for the time being * fixed formatting in nym-connect * made socks5 client inside nym-connect immutable * made clippy a bit happier * hidden away target locking for recv timeout
11 lines
327 B
Rust
11 lines
327 B
Rust
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub mod shutdown;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub mod signal;
|
|
|
|
pub use shutdown::{ShutdownListener, ShutdownNotifier};
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub use signal::{wait_for_signal, wait_for_signal_and_error};
|