a151a03181
* squashing Lp/ip pool fixes#6412 removed unused imports gateway probe fixes PSK injection + test fixes cleanup minus PSK injection combine with lp reg moved authenticator peer registration to centralised location bugfix: ensure IpPool never allocates gateway ip ip pool allocation tests * review fixes * test fixes
33 lines
685 B
Rust
33 lines
685 B
Rust
// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub mod client_message;
|
|
pub mod models;
|
|
pub mod request;
|
|
pub mod response;
|
|
pub mod traits;
|
|
pub mod v1;
|
|
pub mod v2;
|
|
pub mod v3;
|
|
pub mod v4;
|
|
pub mod v5;
|
|
pub mod v6;
|
|
|
|
mod error;
|
|
mod util;
|
|
mod version;
|
|
|
|
pub use error::Error;
|
|
pub use util::{authenticator_ipv4_to_ipv6, authenticator_ipv6_to_ipv4};
|
|
pub use v6 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()
|
|
}
|