mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
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:
parent
012ecf21db
commit
3b636d4780
@ -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"
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user