aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/device.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2020-06-19 23:45:56 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2020-06-19 23:45:56 +0200
commit6e307fc70e19093869311a04060cddf120b3c31e (patch)
tree6d05942edc626b722a0574369eff7107994e59ef /src/wireguard/router/device.rs
parentAdded architecture illustration. (diff)
downloadwireguard-rs-6e307fc70e19093869311a04060cddf120b3c31e.tar.xz
wireguard-rs-6e307fc70e19093869311a04060cddf120b3c31e.zip
Replace RwLock<HashMap> with DashMap in handshake
Diffstat (limited to '')
-rw-r--r--src/wireguard/router/device.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wireguard/router/device.rs b/src/wireguard/router/device.rs
index 1a12abb..62ef932 100644
--- a/src/wireguard/router/device.rs
+++ b/src/wireguard/router/device.rs
@@ -3,7 +3,6 @@ use std::ops::Deref;
use std::sync::atomic::AtomicBool;
use std::sync::Arc;
use std::thread;
-use std::time::Instant;
use log;
use spin::{Mutex, RwLock};