Update to futures 0.3.0-alpha.13 (#211)

This commit is contained in:
Artem Vorotnikov
2019-02-26 20:32:41 +03:00
committed by Tim
parent 39737b720a
commit 06544faa5a
23 changed files with 102 additions and 106 deletions

View File

@@ -8,7 +8,7 @@
use clap::{App, Arg};
use futures::{
compat::TokioDefaultSpawner,
compat::Executor01CompatExt,
future::{self, Ready},
prelude::*,
};
@@ -73,7 +73,7 @@ fn main() {
.parse()
.unwrap_or_else(|e| panic!(r#"--port value "{}" invalid: {}"#, port, e));
tarpc::init(TokioDefaultSpawner);
tarpc::init(tokio::executor::DefaultExecutor::current().compat());
tokio::run(
run(([0, 0, 0, 0], port).into())