summaryrefslogtreecommitdiff
path: root/crates/tor-hsclient/src/connect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-hsclient/src/connect.rs')
-rw-r--r--crates/tor-hsclient/src/connect.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/tor-hsclient/src/connect.rs b/crates/tor-hsclient/src/connect.rs
index 11b4f14e4..c547343d2 100644
--- a/crates/tor-hsclient/src/connect.rs
+++ b/crates/tor-hsclient/src/connect.rs
@@ -1,12 +1,9 @@
//! Main implementation of the connection functionality
-use std::time::Duration;
-
use std::collections::HashMap;
use std::fmt::Debug;
use std::marker::PhantomData;
use std::sync::Arc;
-use std::time::Instant;
use async_trait::async_trait;
use educe::Educe;
@@ -27,6 +24,7 @@ use tor_hscrypto::Subcredential;
use tor_proto::TargetHop;
use tor_proto::client::circuit::handshake::hs_ntor;
use tracing::{debug, instrument, trace};
+use web_time_compat::{Duration, Instant};
use retry_error::RetryError;
use safelog::{DispRedacted, Sensitive};