e675e3937a
* Top up wg bandwidth * Introduce v3 with top up * Verify and increase cred bw * Add log * Fix clippy
21 lines
410 B
Rust
21 lines
410 B
Rust
// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub mod v1;
|
|
pub mod v2;
|
|
pub mod v3;
|
|
|
|
mod error;
|
|
|
|
pub use error::Error;
|
|
pub use v3 as latest;
|
|
|
|
pub const CURRENT_VERSION: u8 = 3;
|
|
|
|
fn make_bincode_serializer() -> impl bincode::Options {
|
|
use bincode::Options;
|
|
bincode::DefaultOptions::new()
|
|
.with_big_endian()
|
|
.with_varint_encoding()
|
|
}
|