aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src/lib.rs
blob: dc1a84f63b5824a987fff3e6493e1a4e9dd99176 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! # RST Node Core
//!
//! RST Node is a real-time strategy game about computers on a
//! network, fighting for dominance against a set of other network
//! operators.  To operate a successful network you need to build
//! infrastructure, compute clusters, and defences on edge nodes.
//!
//! The game architecture is split between the game client and game
//! server.  This library implements all required types and functions
//! to manage this state over a network connection.
//!
//! The main game interface is provided by [GameIf](crate::GameIf),
//! which is them implemented by [Server](crate::server::Server), and
//! [MatchClient](crate::client::MatchClient).

// Remove the warning spam
#![allow(warnings)]

#[macro_use]
extern crate const_env;

#[macro_use]
extern crate tracing;

pub(crate) mod _loop;

mod _if;
pub use _if::GameIf;

mod _match;
pub use _match::Match;

pub mod config;
pub mod data;
pub mod error;
pub mod gens;
pub mod io;
pub mod lobby;
pub mod mailbox;
pub mod map;
pub mod mapstore;
pub mod net;
pub mod server;
pub mod stats;
pub mod users;
pub mod wire;

pub use identity::Identity as Id;