Skip to content

Commit

Permalink
tokio 0.2.0-alpha.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vorot93 authored and tikue committed Aug 30, 2019
1 parent 61322eb commit 46bcc0f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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::*,
Expand Down
1 change: 0 additions & 1 deletion json-transport/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

//! A TCP [`Transport`] that serializes as JSON.
#![feature(async_await)]
#![deny(missing_docs)]

use futures::{compat::*, prelude::*, ready};
Expand Down
4 changes: 2 additions & 2 deletions rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 0 additions & 4 deletions tarpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
//! First, let's set up the dependencies and service definition.
//!
//! ```rust
//! #![feature(async_await)]
//! # extern crate futures;
//!
//! use futures::{
Expand All @@ -100,7 +99,6 @@
//! implement it for our Server struct.
//!
//! ```rust
//! # #![feature(async_await)]
//! # extern crate futures;
//! # use futures::{
//! # future::{self, Ready},
Expand Down Expand Up @@ -143,7 +141,6 @@
//! that uses bincode over TCP.
//!
//! ```rust
//! # #![feature(async_await)]
//! # extern crate futures;
//! # use futures::{
//! # future::{self, Ready},
Expand Down Expand Up @@ -214,7 +211,6 @@ pub use rpc::*;
/// Rpc methods are specified, mirroring trait syntax:
///
/// ```
/// # #![feature(async_await)]
/// # fn main() {}
/// #[tarpc::service]
/// trait Service {
Expand Down

0 comments on commit 46bcc0f

Please sign in to comment.