diff --git a/README.md b/README.md index 7b6089b..0c6f264 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ arguments to tarpc fns. Add to your `Cargo.toml` dependencies: ```toml -tarpc = "0.15.0" +tarpc = "0.17.0" ``` The `service!` macro expands to a collection of items that form an @@ -48,7 +48,7 @@ races! Here's a small service. ```rust -#![feature(futures_api, pin, arbitrary_self_types, await_macro, async_await, proc_macro_hygiene)] +#![feature(pin, arbitrary_self_types, await_macro, async_await, proc_macro_hygiene)] use futures::{ diff --git a/bincode-transport/Cargo.toml b/bincode-transport/Cargo.toml index 3ff5ea4..7640a18 100644 --- a/bincode-transport/Cargo.toml +++ b/bincode-transport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc-bincode-transport" -version = "0.5.0" +version = "0.6.0" authors = ["Tim Kuehn "] edition = '2018' license = "MIT" @@ -17,7 +17,7 @@ bincode = "1" futures-preview = { version = "0.3.0-alpha.15", features = ["compat"] } futures_legacy = { version = "0.1", package = "futures" } pin-utils = "0.1.0-alpha.4" -rpc = { package = "tarpc-lib", version = "0.4", path = "../rpc", features = ["serde1"] } +rpc = { package = "tarpc-lib", version = "0.5", path = "../rpc", features = ["serde1"] } serde = "1.0" tokio-io = "0.1" async-bincode = "0.4" diff --git a/bincode-transport/src/lib.rs b/bincode-transport/src/lib.rs index cf16dd3..b171642 100644 --- a/bincode-transport/src/lib.rs +++ b/bincode-transport/src/lib.rs @@ -6,7 +6,7 @@ //! A TCP [`Transport`] that serializes as bincode. -#![feature(futures_api, arbitrary_self_types, await_macro, async_await)] +#![feature(arbitrary_self_types, await_macro, async_await)] #![deny(missing_docs, missing_debug_implementations)] use async_bincode::{AsyncBincodeStream, AsyncDestination}; diff --git a/bincode-transport/tests/bench.rs b/bincode-transport/tests/bench.rs index eeda8e8..ed79f78 100644 --- a/bincode-transport/tests/bench.rs +++ b/bincode-transport/tests/bench.rs @@ -9,7 +9,6 @@ #![feature( test, integer_atomics, - futures_api, generators, await_macro, async_await diff --git a/bincode-transport/tests/cancel.rs b/bincode-transport/tests/cancel.rs index c574fbb..516e665 100644 --- a/bincode-transport/tests/cancel.rs +++ b/bincode-transport/tests/cancel.rs @@ -6,7 +6,7 @@ //! Tests client/server control flow. -#![feature(generators, await_macro, async_await, futures_api)] +#![feature(generators, await_macro, async_await)] use futures::{ compat::{Executor01CompatExt, Future01CompatExt}, diff --git a/bincode-transport/tests/pushback.rs b/bincode-transport/tests/pushback.rs index a59be02..079679f 100644 --- a/bincode-transport/tests/pushback.rs +++ b/bincode-transport/tests/pushback.rs @@ -6,7 +6,7 @@ //! Tests client/server control flow. -#![feature(generators, await_macro, async_await, futures_api)] +#![feature(generators, await_macro, async_await)] use futures::{ compat::{Executor01CompatExt, Future01CompatExt}, diff --git a/example-service/Cargo.toml b/example-service/Cargo.toml index 1af0a0e..11083ca 100644 --- a/example-service/Cargo.toml +++ b/example-service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc-example-service" -version = "0.4.0" +version = "0.5.0" authors = ["Tim Kuehn "] edition = "2018" license = "MIT" @@ -13,11 +13,11 @@ readme = "../README.md" description = "An example server built on tarpc." [dependencies] -bincode-transport = { package = "tarpc-bincode-transport", version = "0.5", path = "../bincode-transport" } +bincode-transport = { package = "tarpc-bincode-transport", version = "0.6", path = "../bincode-transport" } clap = "2.0" futures-preview = { version = "0.3.0-alpha.15", features = ["compat"] } serde = { version = "1.0" } -tarpc = { version = "0.16", path = "../tarpc", features = ["serde1"] } +tarpc = { version = "0.17", path = "../tarpc", features = ["serde1"] } tokio = "0.1" tokio-executor = "0.1" diff --git a/example-service/src/client.rs b/example-service/src/client.rs index 788a041..880fc93 100644 --- a/example-service/src/client.rs +++ b/example-service/src/client.rs @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -#![feature(futures_api, arbitrary_self_types, await_macro, async_await)] +#![feature(arbitrary_self_types, await_macro, async_await)] use clap::{App, Arg}; use futures::{compat::Executor01CompatExt, prelude::*}; diff --git a/example-service/src/lib.rs b/example-service/src/lib.rs index f710d46..dd3e162 100644 --- a/example-service/src/lib.rs +++ b/example-service/src/lib.rs @@ -5,7 +5,6 @@ // https://opensource.org/licenses/MIT. #![feature( - futures_api, arbitrary_self_types, await_macro, async_await, diff --git a/example-service/src/server.rs b/example-service/src/server.rs index 61f5638..f298866 100644 --- a/example-service/src/server.rs +++ b/example-service/src/server.rs @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -#![feature(futures_api, arbitrary_self_types, await_macro, async_await)] +#![feature(arbitrary_self_types, await_macro, async_await)] use clap::{App, Arg}; use futures::{ diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 9237d65..d096b43 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc-lib" -version = "0.4.0" +version = "0.5.0" authors = ["Tim Kuehn "] edition = '2018' license = "MIT" diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index 46ff8b2..beacbd1 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -8,7 +8,6 @@ non_exhaustive, integer_atomics, try_trait, - futures_api, arbitrary_self_types, await_macro, async_await diff --git a/tarpc/Cargo.toml b/tarpc/Cargo.toml index 18a307d..501b0b1 100644 --- a/tarpc/Cargo.toml +++ b/tarpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc" -version = "0.16.0" +version = "0.17.0" authors = ["Adam Wright ", "Tim Kuehn "] edition = "2018" license = "MIT" @@ -22,14 +22,14 @@ travis-ci = { repository = "google/tarpc" } futures-preview = { version = "0.3.0-alpha.15", features = ["compat"] } log = "0.4" serde = { optional = true, version = "1.0" } -rpc = { package = "tarpc-lib", path = "../rpc", version = "0.4" } +rpc = { package = "tarpc-lib", path = "../rpc", version = "0.5" } tarpc-plugins = { path = "../plugins", version = "0.5.0" } [dev-dependencies] bincode = "1" bytes = { version = "0.4", features = ["serde"] } humantime = "1.0" -bincode-transport = { package = "tarpc-bincode-transport", version = "0.5", path = "../bincode-transport" } +bincode-transport = { package = "tarpc-bincode-transport", version = "0.6", path = "../bincode-transport" } env_logger = "0.6" libtest = "0.0.1" tokio = "0.1" diff --git a/tarpc/examples/pubsub.rs b/tarpc/examples/pubsub.rs index 9575b28..f70c204 100644 --- a/tarpc/examples/pubsub.rs +++ b/tarpc/examples/pubsub.rs @@ -6,7 +6,6 @@ #![feature( arbitrary_self_types, - futures_api, await_macro, async_await, existential_type, diff --git a/tarpc/examples/readme.rs b/tarpc/examples/readme.rs index 16f97ab..6865334 100644 --- a/tarpc/examples/readme.rs +++ b/tarpc/examples/readme.rs @@ -5,7 +5,6 @@ // https://opensource.org/licenses/MIT. #![feature( - futures_api, arbitrary_self_types, await_macro, async_await, diff --git a/tarpc/examples/server_calling_server.rs b/tarpc/examples/server_calling_server.rs index c8f318d..f38c630 100644 --- a/tarpc/examples/server_calling_server.rs +++ b/tarpc/examples/server_calling_server.rs @@ -7,7 +7,6 @@ #![feature( existential_type, arbitrary_self_types, - futures_api, await_macro, async_await, proc_macro_hygiene diff --git a/tarpc/examples/service_registry.rs b/tarpc/examples/service_registry.rs index 59fa61b..1f27e27 100644 --- a/tarpc/examples/service_registry.rs +++ b/tarpc/examples/service_registry.rs @@ -1,7 +1,6 @@ #![feature( async_await, await_macro, - futures_api, arbitrary_self_types, proc_macro_hygiene, impl_trait_in_bindings diff --git a/tarpc/src/lib.rs b/tarpc/src/lib.rs index d9b3f54..a91ee40 100644 --- a/tarpc/src/lib.rs +++ b/tarpc/src/lib.rs @@ -9,7 +9,7 @@ #![feature(async_await, external_doc)] #![cfg_attr( test, - feature(futures_api, await_macro, proc_macro_hygiene, arbitrary_self_types) + feature(await_macro, proc_macro_hygiene, arbitrary_self_types) )] #[doc(hidden)] diff --git a/tarpc/src/macros.rs b/tarpc/src/macros.rs index fddde44..c6593f5 100644 --- a/tarpc/src/macros.rs +++ b/tarpc/src/macros.rs @@ -30,7 +30,7 @@ macro_rules! add_serde_if_enabled { /// Rpc methods are specified, mirroring trait syntax: /// /// ``` -/// # #![feature(await_macro, pin, arbitrary_self_types, async_await, futures_api, proc_macro_hygiene)] +/// # #![feature(await_macro, pin, arbitrary_self_types, async_await, proc_macro_hygiene)] /// # fn main() {} /// # tarpc::service! { /// /// Say hello diff --git a/tarpc/tests/latency.rs b/tarpc/tests/latency.rs index 4e3e016..bb10ae7 100644 --- a/tarpc/tests/latency.rs +++ b/tarpc/tests/latency.rs @@ -8,7 +8,6 @@ test, arbitrary_self_types, integer_atomics, - futures_api, generators, await_macro, async_await,