mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-04-22 16:17:23 +08:00
remove hashbrown (#2108)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user