v0.13.0-alpha.1
This commit is contained in:
41
CHANGELOG.md
41
CHANGELOG.md
@@ -1,3 +1,44 @@
|
|||||||
|
### v0.13.0-alpha.1 (2019-09-04)
|
||||||
|
|
||||||
|
|
||||||
|
#### Bug Fixes
|
||||||
|
|
||||||
|
* **server:** change `Builder` window size methods to be by-value ([a22dabd0](https://github.com/hyperium/hyper/commit/a22dabd0935e5471fb6b7e511fc9c585ced0a53a), closes [#1814](https://github.com/hyperium/hyper/issues/1814))
|
||||||
|
|
||||||
|
|
||||||
|
#### Features
|
||||||
|
|
||||||
|
* **body:**
|
||||||
|
* change `Sender::send_data` to an `async fn`. ([62a96c07](https://github.com/hyperium/hyper/commit/62a96c077b85792fbf6eb080ec8fec646c47e385))
|
||||||
|
* Update `Payload` to be a trait alias of `http_body::Body` (#1908) ([79c32f89](https://github.com/hyperium/hyper/commit/79c32f89530e47735155eb9bd19466bcb6aec90d))
|
||||||
|
* require `Sync` when wrapping a dynamic `Stream` ([44413721](https://github.com/hyperium/hyper/commit/4441372121e8b278ac773ddd4e408a642dadf2d8))
|
||||||
|
* **client:**
|
||||||
|
* provide tower::Service support for clients (#1915) ([eee2a728](https://github.com/hyperium/hyper/commit/eee2a728797346f8c96c15c5958a05432a4e4453))
|
||||||
|
* change `GaiResolver` to use a global blocking threadpool ([049b5132](https://github.com/hyperium/hyper/commit/049b5132dbb6199a32e1795d005003f99d0e0b74))
|
||||||
|
* **lib:** update to `std::future::Future` ([8f4b05ae](https://github.com/hyperium/hyper/commit/8f4b05ae78567dfc52236bc83d7be7b7fc3eebb0))
|
||||||
|
* **rt:** export `hyper::rt::main` attribute macro ([f0478c62](https://github.com/hyperium/hyper/commit/f0478c62677a953aae84aa8d976bec1d28ef21b1))
|
||||||
|
* **service:** use tower_service::Service for hyper::service ([ec520d56](https://github.com/hyperium/hyper/commit/ec520d5602d819fd92f497cc230df436c1a39eb0))
|
||||||
|
|
||||||
|
|
||||||
|
#### Breaking Changes
|
||||||
|
|
||||||
|
* Usage of `send_data` should either be changed to
|
||||||
|
async/await or use `try_send_data`.
|
||||||
|
|
||||||
|
([62a96c07](https://github.com/hyperium/hyper/commit/62a96c077b85792fbf6eb080ec8fec646c47e385))
|
||||||
|
* Calls to `GaiResolver::new` and `HttpConnector::new` no
|
||||||
|
longer should pass an integer argument for the number of threads.
|
||||||
|
|
||||||
|
([049b5132](https://github.com/hyperium/hyper/commit/049b5132dbb6199a32e1795d005003f99d0e0b74))
|
||||||
|
* All usage of async traits (`Future`, `Stream`,
|
||||||
|
`AsyncRead`, `AsyncWrite`, etc) are updated to newer versions.
|
||||||
|
|
||||||
|
([8f4b05ae](https://github.com/hyperium/hyper/commit/8f4b05ae78567dfc52236bc83d7be7b7fc3eebb0))
|
||||||
|
|
||||||
|
|
||||||
|
### v0.12.33 (2019-09-04)
|
||||||
|
|
||||||
|
|
||||||
### v0.12.32 (2019-07-08)
|
### v0.12.32 (2019-07-08)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
12
Cargo.toml
12
Cargo.toml
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "hyper"
|
name = "hyper"
|
||||||
version = "0.13.0-a.0" # don't forget to update html_root_url
|
version = "0.13.0-alpha.1" # don't forget to update html_root_url
|
||||||
description = "A fast and correct HTTP library."
|
description = "A fast and correct HTTP library."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://hyper.rs"
|
homepage = "https://hyper.rs"
|
||||||
@@ -12,8 +12,6 @@ keywords = ["http", "hyper", "hyperium"]
|
|||||||
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
|
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
publish = false
|
|
||||||
|
|
||||||
include = [
|
include = [
|
||||||
"Cargo.toml",
|
"Cargo.toml",
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
@@ -27,19 +25,19 @@ futures-core-preview = { version = "=0.3.0-alpha.18" }
|
|||||||
futures-channel-preview = { version = "=0.3.0-alpha.18" }
|
futures-channel-preview = { version = "=0.3.0-alpha.18" }
|
||||||
futures-util-preview = { version = "=0.3.0-alpha.18" }
|
futures-util-preview = { version = "=0.3.0-alpha.18" }
|
||||||
http = "0.1.15"
|
http = "0.1.15"
|
||||||
http-body = "0.2.0-alpha.1"
|
http-body = "=0.2.0-alpha.1"
|
||||||
httparse = "1.0"
|
httparse = "1.0"
|
||||||
h2 = { git = "https://github.com/hyperium/h2" }
|
h2 = "=0.2.0-alpha.1"
|
||||||
iovec = "0.1"
|
iovec = "0.1"
|
||||||
itoa = "0.4.1"
|
itoa = "0.4.1"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
net2 = { version = "0.2.32", optional = true }
|
net2 = { version = "0.2.32", optional = true }
|
||||||
pin-project = { version = "0.4.0-alpha.7", features = ["project_attr"] }
|
pin-project = { version = "=0.4.0-alpha.7", features = ["project_attr"] }
|
||||||
|
|
||||||
time = "0.1"
|
time = "0.1"
|
||||||
tokio = { version = "=0.2.0-alpha.4", optional = true, default-features = false, features = ["rt-full"] }
|
tokio = { version = "=0.2.0-alpha.4", optional = true, default-features = false, features = ["rt-full"] }
|
||||||
tower-service = "=0.3.0-alpha.1"
|
tower-service = "=0.3.0-alpha.1"
|
||||||
tower-make = { version = "0.1.0-alpha.2", features = ['io'] }
|
tower-make = { version = "=0.1.0-alpha.2", features = ['io'] }
|
||||||
tokio-executor = { version = "=0.2.0-alpha.4", features = ["blocking"] }
|
tokio-executor = { version = "=0.2.0-alpha.4", features = ["blocking"] }
|
||||||
tokio-io = "=0.2.0-alpha.4"
|
tokio-io = "=0.2.0-alpha.4"
|
||||||
tokio-sync = "=0.2.0-alpha.4"
|
tokio-sync = "=0.2.0-alpha.4"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#![doc(html_root_url = "https://docs.rs/hyper/0.12.32")]
|
#![doc(html_root_url = "https://docs.rs/hyper/0.13.0-alpha.1")]
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
#![deny(rust_2018_idioms)]
|
#![deny(rust_2018_idioms)]
|
||||||
|
|||||||
Reference in New Issue
Block a user