diff options
| -rw-r--r-- | Cargo.toml | 13 | ||||
| -rw-r--r-- | src/client.rs (renamed from src/main.rs) | 1 | ||||
| -rw-r--r-- | src/server.rs | 0 |
3 files changed, 13 insertions, 1 deletions
@@ -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 3c582d9..4ed5581 100644 --- a/src/main.rs +++ b/src/client.rs @@ -30,6 +30,7 @@ pub mod gui; pub mod input; pub mod map; pub mod math; +pub mod server; pub mod snapping; pub mod stable_vec; pub mod svg; diff --git a/src/server.rs b/src/server.rs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/server.rs |
