aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'games/rstnode/rst-core/src/lib.rs')
-rw-r--r--games/rstnode/rst-core/src/lib.rs39
1 files changed, 39 insertions, 0 deletions
diff --git a/games/rstnode/rst-core/src/lib.rs b/games/rstnode/rst-core/src/lib.rs
new file mode 100644
index 000000000000..36e232f4639c
--- /dev/null
+++ b/games/rstnode/rst-core/src/lib.rs
@@ -0,0 +1,39 @@
+//! # RST Node
+//!
+//! 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).
+
+#[macro_use]
+extern crate const_env;
+
+pub(crate) mod _loop;
+
+mod _if;
+pub use _if::GameIf;
+
+mod _match;
+pub use _match::Match;
+
+pub mod config;
+pub mod data;
+pub mod gens;
+pub mod io;
+pub mod lobby;
+pub mod map;
+pub mod mapstore;
+pub mod server;
+pub mod stats;
+pub mod users;
+pub mod wire;
+
+pub use identity::Identity as Id;