aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml13
-rw-r--r--src/client.rs (renamed from src/main.rs)1
-rw-r--r--src/server.rs0
3 files changed, 13 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0a8e040..725f8a8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,17 @@ version = "0.1.1"
authors = ["Arne Dußin <arne.dussin@gmail.com>"]
edition = "2018"
+[build]
+target = "client"
+
+[[bin]]
+name = "client"
+path = "src/client.rs"
+
+[[bin]]
+name = "server"
+path = "src/server.rs"
+
[dependencies]
raylib = "3.0.0"
ron = "*"
@@ -16,4 +27,4 @@ xmltree = "*"
pretty_env_logger = "*"
log = "*"
thiserror = "*"
-float-cmp = "*" \ No newline at end of file
+float-cmp = "*"
diff --git a/src/main.rs b/src/client.rs
index 4d6f4ba..e100340 100644
--- a/src/main.rs
+++ b/src/client.rs
@@ -30,6 +30,7 @@ pub mod grid;
pub mod gui;
pub mod map;
pub mod math;
+pub mod server;
pub mod snapping;
pub mod svg;
pub mod tool;
diff --git a/src/server.rs b/src/server.rs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/server.rs