kubi/kubi-udp/src/lib.rs
2023-02-01 03:16:23 +01:00

12 lines
394 B
Rust

pub(crate) mod client;
pub(crate) mod server;
pub(crate) mod packet;
pub use server::Server;
pub use client::Client;
pub(crate) const BINCODE_CONFIG: bincode::config::Configuration<bincode::config::LittleEndian, bincode::config::Varint, bincode::config::SkipFixedArrayLength> = bincode::config::standard()
.with_little_endian()
.with_variable_int_encoding()
.skip_fixed_array_length();