mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 17:51:35 +00:00
protocols/{relay,dcutr}: Replace std::time::SystemTime
with instant::SystemTime
(#2991)
This commit is contained in:
@ -22,11 +22,11 @@ use crate::message_proto::{hole_punch, HolePunch};
|
||||
use asynchronous_codec::Framed;
|
||||
use futures::{future::BoxFuture, prelude::*};
|
||||
use futures_timer::Delay;
|
||||
use instant::Instant;
|
||||
use libp2p_core::{multiaddr::Protocol, upgrade, Multiaddr};
|
||||
use libp2p_swarm::NegotiatedSubstream;
|
||||
use std::convert::TryFrom;
|
||||
use std::iter;
|
||||
use std::time::Instant;
|
||||
use thiserror::Error;
|
||||
|
||||
pub struct Upgrade {
|
||||
|
Reference in New Issue
Block a user