Files
nym/sdk/rust/nym-sdk
Tommy Verrall 62967f736d Refactor domain fronting to use configuration-based approach
How it works:
1. VPN configures NymNetworkDetails with front_hosts
2. SDK passes network_details to BaseClientBuilder via with_network_details()
3. BaseClientBuilder uses ClientBuilder::from_network() when available
4. from_network() automatically enables domain fronting if front_hosts configured

Benefits:
- Configuration-based (network_details), not object-based (cleaner)
- No breaking changes for existing clients

Changes:
- Added network_details: Option<NymNetworkDetails> to BaseClientBuilder
- Updated tests
2025-10-17 15:11:18 +02:00
..
2025-09-15 14:32:15 +02:00
2025-03-03 07:39:17 +00:00

Nym Rust SDK

This repo contains several components:

  • mixnet: exposes Nym Client builders and methods. This is useful if you want to interact directly with the Client, or build transport abstractions.
  • tcp_proxy: exposes functionality to set up client/server instances that expose a localhost TcpSocket to read/write to like a 'normal' socket connection. tcp_proxy/bin/ contains standalone nym-proxy-client and nym-proxy-server binaries.
  • clientpool: a configurable pool of ephemeral Nym Clients which can be created as a background process and quickly grabbed.

Documentation can be found here.