remove hashbrown (#2108)

This commit is contained in:
Luna Yao
2026-04-18 05:06:34 +02:00
committed by GitHub
parent 432fcb3fc3
commit 84430055ab
2 changed files with 3 additions and 6 deletions
-1
View File
@@ -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
+3 -5
View File
@@ -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<K, T>` holds a score `K` and a scored object `T` in