remove Debug trait from Map and pathfinder -- not used in a long time

This commit is contained in:
Dustin Carlino 2019-06-17 12:12:59 -07:00
parent 58d056cdbc
commit ace3f0d285
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ use serde_derive::{Deserialize, Serialize};
use std::collections::{BTreeMap, BTreeSet, HashSet, VecDeque};
use std::io;
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub struct Map {
roads: Vec<Road>,
lanes: Vec<Lane>,

View File

@ -8,7 +8,7 @@ use std::collections::{BTreeMap, BTreeSet, VecDeque};
// TODO Make the graph smaller by considering RoadID, or even (directed?) bundles of roads based on
// OSM way.
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub struct VehiclePathfinder {
graph: StableGraph<DirectedRoadID, Distance>,
#[serde(

View File

@ -313,7 +313,7 @@ fn validate(map: &Map, steps: &Vec<PathStep>) {
}
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub struct Pathfinder {
car_graph: VehiclePathfinder,
bike_graph: VehiclePathfinder,

View File

@ -10,7 +10,7 @@ use std::collections::BTreeMap;
// TODO Make the graph smaller by considering RoadID, or even (directed?) bundles of roads based on
// OSM way.
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub struct SidewalkPathfinder {
graph: Graph<DirectedRoadID, Edge>,
#[serde(