From 46bcc0f55980e7cd612faefb131f8865aaf41d01 Mon Sep 17 00:00:00 2001 From: Artem Vorotnikov Date: Fri, 30 Aug 2019 16:20:30 +0300 Subject: [PATCH] tokio 0.2.0-alpha.4 --- README.md | 2 -- json-transport/src/lib.rs | 1 - rpc/Cargo.toml | 4 ++-- rpc/src/lib.rs | 2 +- tarpc/src/lib.rs | 4 ---- 5 files changed, 3 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 67f1dd78..59692076 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,6 @@ For a more real-world example, see [example-service](example-service). First, let's set up the dependencies and service definition. ```rust -#![feature(async_await)] - use futures::{ future::{self, Ready}, prelude::*, diff --git a/json-transport/src/lib.rs b/json-transport/src/lib.rs index 8138d4f3..4c7c3b60 100644 --- a/json-transport/src/lib.rs +++ b/json-transport/src/lib.rs @@ -6,7 +6,6 @@ //! A TCP [`Transport`] that serializes as JSON. -#![feature(async_await)] #![deny(missing_docs)] use futures::{compat::*, prelude::*, ready}; diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 2733f35e..a2c81265 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -24,10 +24,10 @@ humantime = "1.0" log = "0.4" pin-utils = "0.1.0-alpha.4" rand = "0.7" -tokio-timer = "0.3.0-alpha.2" +tokio-timer = "0.3.0-alpha.4" trace = { package = "tarpc-trace", version = "0.2", path = "../trace" } serde = { optional = true, version = "1.0" } -tokio = { optional = true, version = "0.2.0-alpha.3" } +tokio = { optional = true, version = "0.2.0-alpha.4" } [dev-dependencies] futures-test-preview = { version = "0.3.0-alpha.18" } diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index a6372176..8da8efcb 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -#![feature(weak_counts, non_exhaustive, async_await, trait_alias)] +#![feature(weak_counts, non_exhaustive, trait_alias)] #![deny(missing_docs, missing_debug_implementations)] //! An RPC framework providing client and server. diff --git a/tarpc/src/lib.rs b/tarpc/src/lib.rs index 9b37493c..41f8f2ee 100644 --- a/tarpc/src/lib.rs +++ b/tarpc/src/lib.rs @@ -74,7 +74,6 @@ //! First, let's set up the dependencies and service definition. //! //! ```rust -//! #![feature(async_await)] //! # extern crate futures; //! //! use futures::{ @@ -100,7 +99,6 @@ //! implement it for our Server struct. //! //! ```rust -//! # #![feature(async_await)] //! # extern crate futures; //! # use futures::{ //! # future::{self, Ready}, @@ -143,7 +141,6 @@ //! that uses bincode over TCP. //! //! ```rust -//! # #![feature(async_await)] //! # extern crate futures; //! # use futures::{ //! # future::{self, Ready}, @@ -214,7 +211,6 @@ pub use rpc::*; /// Rpc methods are specified, mirroring trait syntax: /// /// ``` -/// # #![feature(async_await)] /// # fn main() {} /// #[tarpc::service] /// trait Service {