From 75ee4646aca07d9d350071e7535d8392e660b43e Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 8 Oct 2019 13:51:32 -0700 Subject: [PATCH] v0.10.0-alpha.1 --- CHANGELOG.md | 15 +++++++++++++++ Cargo.toml | 6 ++---- src/lib.rs | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2da5956aa..6e85fc995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# v0.10.0-alpha.1 + +- Add `std::future::Future` support. +- Add `wasm32-unknown-unknown` support (with fewer features). +- Add ability to pass async `Response` as the `body` of another `Request`. +- Change default `Client` API to async. The previous blocking client API is avaialble at `reqwest::blocking`. +- Change default feature set to reduce unnecessary dependencies. Most features are disabled by default: + - `blocking`: The `reqwest::blocking` (synchronous) client API. + - `cookies`: Cookie store support. + - `gzip`: Automatic response body decompression. + - `json`: Request and response JSON body methods. +- Change `futures::Stream` support to a disabled-by-default `unstable-stream` feature. +- Change `Error` internal design, removing several `Error::is_*` inspector methods. +- Update `url` to v2.0. + ## v0.9.19 - Add `ClientBuilder::use_sys_proxy()` to enable automatic detect of HTTP proxies configured on the system. diff --git a/Cargo.toml b/Cargo.toml index cbebf8fc9..2d7b239b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reqwest" -version = "0.10.0-alpha.0" # remember to update html_root_url +version = "0.10.0-alpha.1" # remember to update html_root_url description = "higher level HTTP client library" keywords = ["http", "request", "client"] repository = "https://github.com/seanmonstar/reqwest" @@ -12,8 +12,6 @@ categories = ["web-programming::http-client"] edition = "2018" autotests = true -publish = false - [package.metadata.docs.rs] all-features = true @@ -112,7 +110,7 @@ winreg = "0.6" [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3.25" wasm-bindgen = "0.2.48" -wasm-bindgen-futures = { version = "", features = ["futures_0_3"] } +wasm-bindgen-futures = { version = "0.3", features = ["futures_0_3"] } [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.25" diff --git a/src/lib.rs b/src/lib.rs index 98a0445d1..40843c9a5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,7 @@ #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![cfg_attr(test, deny(warnings))] -#![doc(html_root_url = "https://docs.rs/reqwest/0.9.19")] +#![doc(html_root_url = "https://docs.rs/reqwest/0.10.0-alpha.1")] //! # reqwest //!