// 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;