mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 18:11:22 +00:00
Switch to wasm-timer (#1071)
This commit is contained in:
@ -27,10 +27,10 @@ use libp2p_core::protocols_handler::{
|
||||
ProtocolsHandler,
|
||||
ProtocolsHandlerUpgrErr,
|
||||
};
|
||||
use std::{error::Error, io, fmt, num::NonZeroU32, time::{Duration, Instant}};
|
||||
use std::{error::Error, io, fmt, num::NonZeroU32, time::Duration};
|
||||
use std::collections::VecDeque;
|
||||
use tokio_io::{AsyncRead, AsyncWrite};
|
||||
use tokio_timer::Delay;
|
||||
use wasm_timer::{Delay, Instant};
|
||||
use void::Void;
|
||||
|
||||
/// The configuration for outbound pings.
|
||||
|
Reference in New Issue
Block a user