From 176e6bc6c4c29bea3be2aceca99743b997c76c97 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 6 Oct 2025 23:03:32 +0200 Subject: Move data code to own crate + general data refactor --- server/tools/src/graph_summary.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'server/tools/src/graph_summary.rs') diff --git a/server/tools/src/graph_summary.rs b/server/tools/src/graph_summary.rs index be53e768..bfdcc955 100644 --- a/server/tools/src/graph_summary.rs +++ b/server/tools/src/graph_summary.rs @@ -15,9 +15,10 @@ along with this program. If not, see . */ + use anyhow::Result; +use hurrycurry_data::index::DataIndex; use hurrycurry_protocol::{ItemIndex, Recipe, TileIndex}; -use hurrycurry_server::data::DataIndex; use std::collections::HashSet; pub(crate) fn graph_summary() -> Result<()> { @@ -26,7 +27,7 @@ pub(crate) fn graph_summary() -> Result<()> { println!("digraph {{"); - let (data, sdata, _) = index.generate("5star")?; + let (data, sdata) = index.generate("5star")?; struct Node { inputs: Vec, -- cgit v1.2.3-70-g09d2