File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ flate2 = { version = "1.0", default-features = false }
1919futures-core = " 0.3"
2020futures-util = " 0.3"
2121futures-sink = " 0.3"
22+ keyed_priority_queue = " 0.4"
2223lazy_static = " 1"
2324lru = " 0.10.0"
2425mio = { version = " 0.8.0" , features = [" os-poll" , " net" ] }
@@ -27,7 +28,6 @@ once_cell = "1.7.2"
2728pem = " 2.0.1"
2829percent-encoding = " 2.1.0"
2930pin-project = " 1.0.2"
30- priority-queue = " 1"
3131serde = " 1"
3232serde_json = " 1"
3333socket2 = " 0.5.2"
Original file line number Diff line number Diff line change 77// modified, or distributed except according to those terms.
88
99use futures_util:: FutureExt ;
10- use priority_queue :: PriorityQueue ;
10+ use keyed_priority_queue :: KeyedPriorityQueue ;
1111use tokio:: sync:: mpsc;
1212
1313use std:: {
@@ -92,7 +92,7 @@ impl Exchange {
9292
9393#[ derive( Default , Debug ) ]
9494struct Waitlist {
95- queue : PriorityQueue < QueuedWaker , QueueId > ,
95+ queue : KeyedPriorityQueue < QueuedWaker , QueueId > ,
9696}
9797
9898impl Waitlist {
You can’t perform that action at this time.
0 commit comments