1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! # Naia Client
//! A cross-platform client that can send/receive messages to/from a server, and
//! has a pool of in-scope Entities/Components that are synced with the
//! server.

#![deny(
    trivial_casts,
    trivial_numeric_casts,
    unstable_features,
    unused_import_braces
)]

pub use naia_shared as shared;

mod client;
mod client_config;
mod command_history;
mod connection;
mod constants;
mod error;
mod event;
mod protocol;
mod tick;

pub use client::Client;
pub use client_config::ClientConfig;
pub use command_history::CommandHistory;
pub use error::NaiaClientError;
pub use event::Event;
pub use protocol::entity_ref::EntityRef;

pub mod internal {
    pub use crate::connection::handshake_manager::{HandshakeManager, HandshakeState};
}