aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-client/src/main.rs
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2021-02-14 00:06:14 +0100
committerKatharina Fey <kookie@spacekookie.de>2021-02-14 00:06:14 +0100
commiteffbdeed66e8de8e769b8ac069926ad1a9110e62 (patch)
treee4522354e53266204aa9962caccde55d8c815092 /games/rstnode/rst-client/src/main.rs
parent5dab336049dbc6817e9ff212998690f59f6bbfa8 (diff)
rstnode: refactoring server and client components into rst-coreHEADmaster
* Add an inbox/ outbox system to server components * Define a data flow from Request -> computation -> Update * Create simple handlers to call server or client code for requests
Diffstat (limited to 'games/rstnode/rst-client/src/main.rs')
-rw-r--r--games/rstnode/rst-client/src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/rstnode/rst-client/src/main.rs b/games/rstnode/rst-client/src/main.rs
index a6ba4a59cdc1..4159a37d1d4a 100644
--- a/games/rstnode/rst-client/src/main.rs
+++ b/games/rstnode/rst-client/src/main.rs
@@ -1,5 +1,8 @@
//! RST Node game client
+// Remove the warning spam
+#![allow(warnings)]
+
#[macro_use]
extern crate tracing;
@@ -21,7 +24,8 @@ mod window;
pub(crate) use settings::{GameSettings, GraphicsSettings, WindowSettings};
pub(crate) use state::*;
-fn main() {
+#[async_std::main]
+async fn main() {
// Initialise logging mechanism
log::initialise();