nym-swizzle 1.21.6

Traffic-shape obfuscation utilities: randomized delay scheduling and overlapping range chunking for privacy-preserving applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2026 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: Apache-2.0

//! The single cfg-gated point where the crate touches wall-clock time, so the
//! rest of the code is target-agnostic.

#[cfg(not(target_arch = "wasm32"))]
pub(crate) use tokio::time::sleep;

#[cfg(target_arch = "wasm32")]
pub(crate) use wasmtimer::tokio::sleep;