mononoke/revset: remove tokio 0.1 dependency

Summary:
This depends on Tokio for a reexport of futures_old::task (this can't be from
Tokio, and has to live in `future`s, or it wouldn't be possible for futures to
provide `.compat()` on a 0.3 future).

Reviewed By: StanislavGlebik

Differential Revision: D26485715

fbshipit-source-id: 6f334132eb7c7aaa647f8e5052e91c3a38f6d1d8
This commit is contained in:
Thomas Orozco 2021-02-19 06:57:14 -08:00 committed by Facebook GitHub Bot
parent 012ecf21db
commit 3b636d4780
2 changed files with 1 additions and 2 deletions

View File

@ -34,4 +34,3 @@ ascii = "1.0"
async-trait = "0.1.29"
quickcheck = "0.9"
rand = { version = "0.7", features = ["small_rng"] }
tokio = "0.1"

View File

@ -72,9 +72,9 @@ mod test_utils {
use super::*;
use anyhow::bail;
use futures_old::task;
use mercurial_types::HgNodeHash;
use std::marker::PhantomData;
use tokio::prelude::task;
pub struct NotReadyEmptyStream<T> {
pub poll_count: usize,