Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Commit

Permalink
Update futures-preview to 0.3.0-alpha.16
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed May 10, 2019
1 parent ace0d8a commit cd6131e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ http = "0.1.17"
http-service-hyper = { path = "http-service-hyper", version = "0.2.0" }

[dependencies.futures-preview]
version = "0.3.0-alpha.15"
version = "0.3.0-alpha.16"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</div>

## About
The crate `http-service` provides the necessary types and traits to implement your own HTTP Server. It uses `hyper` for the lower level TCP abstraction.
The crate `http-service` provides the necessary types and traits to implement your own HTTP Server. It uses `hyper` for the lower level TCP abstraction.

You can use the workspace member [`http-service-hyper`](https://crates.io/crates/http-service-hyper) to run your HTTP Server.

Expand All @@ -70,7 +70,7 @@ version = "0.1.1"

**main.rs**
```rust
#![feature(futures_api, async_await, existential_type)]
#![feature(async_await, existential_type)]

use futures::future::{self, FutureObj};
use http_service::{HttpService, Response};
Expand Down
2 changes: 1 addition & 1 deletion http-service-hyper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ hyper = "0.12.27"

[dependencies.futures-preview]
features = ["compat"]
version = "0.3.0-alpha.15"
version = "0.3.0-alpha.16"
2 changes: 1 addition & 1 deletion http-service-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ version = "0.2.0"
http-service = { version = "0.2.0", path = ".." }

[dependencies.futures-preview]
version = "0.3.0-alpha.15"
version = "0.3.0-alpha.16"
6 changes: 2 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//!
//! ## Example
//! ```no_run, rust, ignore
//! #![feature(futures_api, async_await, existential_type)]
//! #![feature(async_await, existential_type)]
//!
//! use futures::{
//! future::{self, FutureObj},
Expand Down Expand Up @@ -64,12 +64,10 @@ use futures::{
future,
prelude::*,
stream::{self, BoxStream},
task::Context,
Poll,
task::{Context, Poll},
};

use std::fmt;
use std::marker::Unpin;
use std::pin::Pin;

/// The raw body of an http request or response.
Expand Down

0 comments on commit cd6131e

Please sign in to comment.