51779c06a4
* removing wg-gateway-client * bandwidth_provider trait * authenticator client * adapt ip-packet-client * nit * registration_client * accomodate new shutdown and bugfix * sdk changes * cleanup and shutdown management * remove credential mode * error cleanup * better error handling * removing useless cover traffic delay * wasm client stuff * cfg unix * more wasm stuff * change authenticator client to not be blocked by mixnet client
30 lines
585 B
Rust
30 lines
585 B
Rust
// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub mod client_message;
|
|
pub mod request;
|
|
pub mod response;
|
|
pub mod traits;
|
|
pub mod v1;
|
|
pub mod v2;
|
|
pub mod v3;
|
|
pub mod v4;
|
|
pub mod v5;
|
|
|
|
mod error;
|
|
mod util;
|
|
mod version;
|
|
|
|
pub use error::Error;
|
|
pub use v5 as latest;
|
|
pub use version::AuthenticatorVersion;
|
|
|
|
pub const CURRENT_VERSION: u8 = latest::VERSION;
|
|
|
|
fn make_bincode_serializer() -> impl bincode::Options {
|
|
use bincode::Options;
|
|
bincode::DefaultOptions::new()
|
|
.with_big_endian()
|
|
.with_varint_encoding()
|
|
}
|