tokio 0.2.0-alpha.4

This commit is contained in:
Artem Vorotnikov
2019-08-30 16:20:30 +03:00
committed by Tim
parent 61322ebf41
commit 46bcc0f559
5 changed files with 3 additions and 10 deletions

View File

@@ -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::*,

View File

@@ -6,7 +6,6 @@
//! A TCP [`Transport`] that serializes as JSON.
#![feature(async_await)]
#![deny(missing_docs)]
use futures::{compat::*, prelude::*, ready};

View File

@@ -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" }

View File

@@ -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.

View File

@@ -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 {