switch router to async-lock

This commit is contained in:
Adrian Wannenmacher committed 2023-04-11 19:58:07 +02:00
1 parent 231e32d76e
commit 00174d4f46
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-rwlock = "1.3.0"
async-lock = "2.7.0"
either = "1.8.0"
futures-channel = "0.3.25"
futures-util = "0.3.25"
+1 -1
View File
@@ -4,7 +4,7 @@ use std::{
sync::{Arc, Weak},
};
use async_rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
use async_lock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
use either::Either;
use futures_channel::mpsc::{unbounded, UnboundedReceiver, UnboundedSender};
use futures_util::StreamExt;