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
//! # Naia Client
//! A cross-platform client that can send/receive events to/from a server, and
//! has a pool of in-scope entities that are synced with the server.

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

extern crate log;

mod client_connection_state;
mod client_entity_manager;
mod client_entity_message;
mod client_event;
mod error;
mod naia_client;
mod server_connection;

pub use client_event::ClientEvent;
pub use naia_client::NaiaClient;
pub use naia_client_socket::Packet;
pub use naia_shared::{find_my_ip_address, Config};