Make room for tokio 0.2

This commit is contained in:
Michael Vines
2020-07-23 08:35:23 -07:00
parent f9049d6ee4
commit b876fb84ba
3 changed files with 11 additions and 8 deletions

View File

@@ -38,7 +38,9 @@ use std::{
iter,
sync::{Arc, Mutex, RwLock},
};
use tokio::runtime::{Builder as RuntimeBuilder, Runtime, TaskExecutor};
// Stuck on tokio 0.1 until the jsonrpc-pubsub crate upgrades to tokio 0.2
use tokio_01::runtime::{Builder as RuntimeBuilder, Runtime, TaskExecutor};
const RECEIVE_DELAY_MILLIS: u64 = 100;