diff --git a/README.md b/README.md index 5ef5ad4..67f1dd7 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ your `Cargo.toml`: ```toml futures-preview = "0.3.0-alpha.18" -tokio = "0.2.0-alpha.2" +tokio = "0.2.0-alpha.3" ``` In the following example, we use an in-process channel for communication between diff --git a/bincode-transport/src/lib.rs b/bincode-transport/src/lib.rs index c04f1e8..93ff2dc 100644 --- a/bincode-transport/src/lib.rs +++ b/bincode-transport/src/lib.rs @@ -6,7 +6,6 @@ //! A TCP [`Transport`] that serializes as bincode. -#![feature(async_await)] #![deny(missing_docs, missing_debug_implementations)] use async_bincode::{AsyncBincodeStream, AsyncDestination}; diff --git a/example-service/Cargo.toml b/example-service/Cargo.toml index 1da57ab..d0c1b82 100644 --- a/example-service/Cargo.toml +++ b/example-service/Cargo.toml @@ -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] diff --git a/example-service/src/client.rs b/example-service/src/client.rs index 2ff867b..0c3f61e 100644 --- a/example-service/src/client.rs +++ b/example-service/src/client.rs @@ -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}; diff --git a/example-service/src/lib.rs b/example-service/src/lib.rs index ee9f48f..ddd75e0 100644 --- a/example-service/src/lib.rs +++ b/example-service/src/lib.rs @@ -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] diff --git a/example-service/src/server.rs b/example-service/src/server.rs index 316df57..6b17887 100644 --- a/example-service/src/server.rs +++ b/example-service/src/server.rs @@ -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}, diff --git a/plugins/tests/service.rs b/plugins/tests/service.rs index e715894..8dc5f16 100644 --- a/plugins/tests/service.rs +++ b/plugins/tests/service.rs @@ -1,5 +1,3 @@ -#![feature(async_await)] - use tarpc::context; #[test] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 2d564bb..2733f35 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -27,7 +27,7 @@ rand = "0.7" tokio-timer = "0.3.0-alpha.2" trace = { package = "tarpc-trace", version = "0.2", path = "../trace" } serde = { optional = true, version = "1.0" } -tokio = { optional = true, version = "0.2.0-alpha.2" } +tokio = { optional = true, version = "0.2.0-alpha.3" } [dev-dependencies] futures-test-preview = { version = "0.3.0-alpha.18" } diff --git a/tarpc/Cargo.toml b/tarpc/Cargo.toml index fe9773e..c40a55b 100644 --- a/tarpc/Cargo.toml +++ b/tarpc/Cargo.toml @@ -35,7 +35,7 @@ futures-preview = { version = "0.3.0-alpha.18" } humantime = "1.0" log = "0.4" pin-utils = "0.1.0-alpha.4" -tokio = "0.2.0-alpha.2" +tokio = "0.2.0-alpha.3" [[example]] name = "server_calling_server" diff --git a/tarpc/examples/pubsub.rs b/tarpc/examples/pubsub.rs index ab9d72d..a107c6c 100644 --- a/tarpc/examples/pubsub.rs +++ b/tarpc/examples/pubsub.rs @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -#![feature(async_await, type_alias_impl_trait)] +#![feature(type_alias_impl_trait)] use futures::{ future::{self, Ready}, diff --git a/tarpc/examples/readme.rs b/tarpc/examples/readme.rs index e321822..f86e635 100644 --- a/tarpc/examples/readme.rs +++ b/tarpc/examples/readme.rs @@ -4,8 +4,6 @@ // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -#![feature(async_await)] - use futures::{ future::{self, Ready}, prelude::*, diff --git a/tarpc/examples/server_calling_server.rs b/tarpc/examples/server_calling_server.rs index df6cd5a..9cc1011 100644 --- a/tarpc/examples/server_calling_server.rs +++ b/tarpc/examples/server_calling_server.rs @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -#![feature(async_await, type_alias_impl_trait)] +#![feature(type_alias_impl_trait)] use crate::{add::Add as AddService, double::Double as DoubleService}; use futures::{ diff --git a/tarpc/src/lib.rs b/tarpc/src/lib.rs index 5025c91..9b37493 100644 --- a/tarpc/src/lib.rs +++ b/tarpc/src/lib.rs @@ -64,7 +64,7 @@ //! //! ```toml //! futures-preview = "0.3.0-alpha.18" -//! tokio = "0.2.0-alpha.2" +//! tokio = "0.2.0-alpha.3" //! ``` //! //! In the following example, we use an in-process channel for communication between @@ -206,7 +206,7 @@ //! items expanded by a `service!` invocation. #![deny(missing_docs, missing_debug_implementations)] -#![feature(async_await, external_doc)] +#![feature(external_doc)] pub use rpc::*; /// The main macro that creates RPC services. diff --git a/tarpc/tests/service_functional.rs b/tarpc/tests/service_functional.rs index de562ce..25d988a 100644 --- a/tarpc/tests/service_functional.rs +++ b/tarpc/tests/service_functional.rs @@ -1,5 +1,3 @@ -#![feature(async_await)] - use assert_matches::assert_matches; use futures::{ future::{ready, Ready},