#![warn(clippy::all, clippy::pedantic)]
pub mod error;
pub mod events;
pub mod reassembler;
pub mod traits;
pub mod types;
pub use reassembler::Reassembler;
pub const MAX_SAFE_PAYLOAD_SIZE: usize = 1200;
pub const MAX_TOTAL_FRAGMENTS: u16 = 1024;
pub const FRAGMENT_OVERHEAD: usize = 64;
pub const MAX_FRAGMENT_PAYLOAD_SIZE: usize = MAX_SAFE_PAYLOAD_SIZE - FRAGMENT_OVERHEAD;
#[cfg(feature = "grpc")]
#[allow(clippy::all, clippy::pedantic)]
pub mod auth {
pub mod v1 {
tonic::include_proto!("aetheris.auth.v1");
}
}
#[cfg(feature = "grpc")]
#[allow(clippy::all, clippy::pedantic)]
pub mod matchmaking {
pub mod v1 {
tonic::include_proto!("aetheris.matchmaking.v1");
}
}
#[cfg(feature = "grpc")]
#[allow(clippy::all, clippy::pedantic)]
pub mod telemetry {
pub mod v1 {
tonic::include_proto!("aetheris.telemetry.v1");
}
}
#[cfg(any(test, feature = "test-utils"))]
pub mod test_doubles;
#[cfg(test)]
mod tests {
#[test]
fn test_protocol_foundation() {
let synchronized = true;
assert!(synchronized);
}
}