cargo fix

This commit is contained in:
hal8174 2025-02-20 22:17:54 +01:00
parent cb8d643c78
commit 811b34b0be
9 changed files with 7 additions and 10 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "factorio-pathfinding"
version = "0.1.0"
edition = "2021"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -2,12 +2,11 @@ use crate::examples::HashMapMap;
use crate::graph::wheighted_graph::shortest_path::a_star;
use crate::graph::wheighted_graph::WheightedGraph;
use crate::misc::Map;
use crate::priority_queue::binary_heap::BinaryHeap;
use crate::priority_queue::binary_heap::FastBinaryHeap;
use crate::Connection;
use crate::Map as _;
use crate::SinglePathInput;
use crate::{graph::wheighted_graph::shortest_path::dijkstra, SinglePathfinder};
use crate::SinglePathfinder;
use factorio_core::{prelude::*, visualize::Visualize};
use serde::{Deserialize, Serialize};
use tracing::span;

View file

@ -1,6 +1,6 @@
use std::{collections::HashMap, fmt::Debug, hash::Hash, hash::Hasher};
use tracing::{field::Empty, trace, trace_span};
use tracing::{field::Empty, trace_span};
use crate::priority_queue::PriorityQueue;

View file

@ -1,4 +1,3 @@
use std::fmt::Debug;
pub mod binary_heap;
pub mod fibonacci_heap;