diff --git a/easytier/Cargo.toml b/easytier/Cargo.toml index b08830c4..9e2d0789 100644 --- a/easytier/Cargo.toml +++ b/easytier/Cargo.toml @@ -165,7 +165,6 @@ network-interface = "2.0" # for ospf route petgraph = "0.8.1" -hashbrown = "0.15.3" ordered_hash_map = "0.5.0" # for wireguard diff --git a/easytier/src/peers/graph_algo.rs b/easytier/src/peers/graph_algo.rs index 63d1d6c9..333bcf5c 100644 --- a/easytier/src/peers/graph_algo.rs +++ b/easytier/src/peers/graph_algo.rs @@ -1,12 +1,10 @@ use core::cmp::Ordering; -use hashbrown::hash_map::{ - Entry::{Occupied, Vacant}, - HashMap, -}; use petgraph::{ algo::Measure, - visit::{EdgeRef as _, IntoEdges, VisitMap as _, Visitable}, + visit::{EdgeRef, IntoEdges, VisitMap, Visitable}, }; +use std::collections::HashMap; +use std::collections::hash_map::Entry::{Occupied, Vacant}; use std::{collections::BinaryHeap, hash::Hash}; /// `MinScored` holds a score `K` and a scored object `T` in