summaryrefslogtreecommitdiff
path: root/server/src/data.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-08 17:16:06 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-08 17:16:06 +0200
commit70bb8744cd742dc6c8a71ab174e4a1b058c7bec8 (patch)
tree78c5a190856f1c6281e8773a05408ede02a13947 /server/src/data.rs
parenta1921104e13c9cf39439ee424d54f7cece67fc5b (diff)
downloadhurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar
hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar.bz2
hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar.zst
split off protocol into its own crate
Diffstat (limited to 'server/src/data.rs')
-rw-r--r--server/src/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/data.rs b/server/src/data.rs
index bca7f543..fd028c94 100644
--- a/server/src/data.rs
+++ b/server/src/data.rs
@@ -19,10 +19,10 @@
use crate::{
entity::{construct_entity, Entity, EntityDecl},
interaction::Recipe,
- protocol::{DemandIndex, ItemIndex, RecipeIndex, TileIndex},
};
use anyhow::{anyhow, bail, Result};
use glam::{IVec2, Vec2};
+use hurrycurry_protocol::{DemandIndex, ItemIndex, RecipeIndex, TileIndex};
use serde::{Deserialize, Serialize};
use std::{
collections::{HashMap, HashSet},