0.3.4-alpha.2

This commit is contained in:
2026-09-21 17:21:25 +02:00
parent 27978c3782
commit 4e2be3cc9a
11 changed files with 533 additions and 8 deletions

View File

@@ -0,0 +1,31 @@
// file: crates/common/game-realtime-transport-lib/src/lib.rs
// version: 1
#![warn(missing_docs)]
#![deny(unreachable_pub)]
#![forbid(unsafe_code)]
//! Transport-neutral realtime connection contracts for games.sasedev.
mod connection;
mod error;
mod message;
/// Re-export of an established realtime connection that can be split into independent halves.
pub use self::connection::RealtimeConnection;
/// Re-export of the receive half of an established realtime connection.
pub use self::connection::RealtimeReceiver;
/// Re-export of the send half of an established realtime connection.
pub use self::connection::RealtimeSender;
/// Re-export of a transport-neutral operation failure.
pub use self::error::TransportError;
/// Re-export of transport-neutral error categories.
pub use self::error::TransportErrorKind;
/// Re-export of an owned opaque binary transport message.
pub use self::message::TransportMessage;
/// Re-export of the result of one receive operation.
pub use self::message::TransportReceive;
#[cfg(test)]
#[path = "../unit_tests/contract.rs"]
mod tests;