60fa5cfeb8
* add TcpProxyClient and TcpProxyServer abstractions to SDK * add single connection example * add multi-connection example * add simple echo server to `tools/`: used for multi-connection example * update FFI toml files: switched to local imports * add proxy bindings to `ffi/shared` * add proxy bindings and example to `ffi/go` * add note to `ffi/cpp` about lack of Proxy bindings for the moment
22 lines
728 B
Rust
22 lines
728 B
Rust
//! Rust SDK for the Nym platform
|
|
//!
|
|
//! The main component currently is [`mixnet`].
|
|
//! [`tcp_proxy`] is probably a good place to start for anyone wanting to integrate with existing app code and read/write from a socket.
|
|
|
|
mod error;
|
|
|
|
pub mod bandwidth;
|
|
pub mod mixnet;
|
|
pub mod tcp_proxy;
|
|
|
|
pub use error::{Error, Result};
|
|
pub use nym_client_core::client::mix_traffic::transceiver::*;
|
|
pub use nym_network_defaults::{
|
|
ChainDetails, DenomDetails, DenomDetailsOwned, NymContracts, NymNetworkDetails,
|
|
ValidatorDetails,
|
|
};
|
|
pub use nym_validator_client::UserAgent;
|
|
// we have to re-expose TaskClient since we're allowing custom shutdown in public API
|
|
// (which is quite a shame if you ask me...)
|
|
pub use nym_task::TaskClient;
|