naia-shared 0.25.0

Common functionality shared between naia-server & naia-client crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod reject_reason;
pub use reject_reason::RejectReason;

cfg_if! {
    if #[cfg(feature = "advanced_handshake")] {
        pub mod advanced;
        pub use advanced::*;
    } else {
        /// Standard handshake protocol for identifying clients and exchanging timing information.
        pub mod simple;
        pub use simple::*;
    }
}