nym-sdk 1.21.1

Nym's Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2025 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: Apache-2.0

//! IPR helpers for [`IpMixStream`](crate::ipr_wrapper::IpMixStream).
//!
//! - **Discovery** (`discovery`): queries the Nym API for IPR-enabled exit gateways.
//! - **Response handling** (`listener`): thin wrappers around
//!   [`nym_ip_packet_requests::response_helpers`] that add version checking
//!   and error mapping for SDK use.

pub mod discovery;
pub mod listener;

pub use listener::{handle_ipr_response, MixnetMessageOutcome};

// Re-export the currently used version
pub use nym_ip_packet_requests::v9 as current;