Update to Tokio 0.3.0-alpha.3

This commit is contained in:
Artem Vorotnikov
2019-08-29 19:18:23 +03:00
committed by Tim
parent 5aa4a2cef6
commit 9ee3011687
14 changed files with 8 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ clap = "2.0"
futures-preview = { version = "0.3.0-alpha.18" }
serde = { version = "1.0" }
tarpc = { version = "0.18", path = "../tarpc", features = ["serde1"] }
tokio = "0.2.0-alpha.2"
tokio = "0.2.0-alpha.3"
env_logger = "0.6"
[lib]

View File

@@ -4,8 +4,6 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![feature(async_await)]
use clap::{App, Arg};
use std::io;
use tarpc::{client, context};

View File

@@ -4,8 +4,6 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![feature(async_await)]
/// This is the service definition. It looks a lot like a trait definition.
/// It defines one RPC, hello, which takes one arg, name, and returns a String.
#[tarpc::service]

View File

@@ -4,8 +4,6 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![feature(async_await)]
use clap::{App, Arg};
use futures::{
future::{self, Ready},