mini_udp 0.3.0

A minimal implementation of a reliability protocol on top of UDP for game networking
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub use mini_udp_derive::ByteRepr;

pub use crate::byte_repr::{ByteRepr, ByteReprError, ByteReprExt, StaticByteRepr};
pub use crate::communicator::*;

pub(crate) use crate::communicator::{InnerUdpCommunicator, UdpCommunicatorSocket};
pub(crate) use crate::packet::{MAX_PACKET_DATA_LEN, MAX_PACKET_LEN, Packet};
pub(crate) use crate::packet_ack::PacketAck;

pub(crate) use std::time::{Duration, Instant};

#[cfg(any(test, feature = "debug"))]
pub(crate) use tracing::debug;
pub(crate) use tracing::{error, warn};