diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-08 17:16:06 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-08 17:16:06 +0200 |
commit | 70bb8744cd742dc6c8a71ab174e4a1b058c7bec8 (patch) | |
tree | 78c5a190856f1c6281e8773a05408ede02a13947 /server/src/main.rs | |
parent | a1921104e13c9cf39439ee424d54f7cece67fc5b (diff) | |
download | hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar.bz2 hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar.zst |
split off protocol into its own crate
Diffstat (limited to 'server/src/main.rs')
-rw-r--r-- | server/src/main.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/server/src/main.rs b/server/src/main.rs index 99834fbd..4c6bcc34 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -18,6 +18,8 @@ use anyhow::{anyhow, Result}; use clap::Parser; use futures_util::{SinkExt, StreamExt}; +use hurrycurry_protocol::{PacketC, PacketS, PlayerID}; +use hurrycurry_server::{data::DATA_DIR, state::State}; use log::{debug, info, warn, LevelFilter}; use std::{path::PathBuf, process::exit, str::FromStr, sync::Arc, time::Duration}; use tokio::{ @@ -27,11 +29,6 @@ use tokio::{ time::interval, }; use tokio_tungstenite::tungstenite::Message; -use hurrycurry_server::{ - data::DATA_DIR, - protocol::{PacketC, PacketS, PlayerID}, - state::State, -}; #[derive(Parser)] struct Args { |