mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-04 05:31:29 +03:00
use local-channel instead of tokio sync channel (#179)
this avoids the mutex overhead in tokio
This commit is contained in:
committed by
GitHub
parent
19c2c4327f
commit
e7a1d72149
@@ -1,5 +1,5 @@
|
||||
use local_channel::mpsc::Receiver;
|
||||
use std::net::IpAddr;
|
||||
use tokio::sync::mpsc::Receiver;
|
||||
|
||||
use hickory_resolver::{error::ResolveError, TokioAsyncResolver};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user