v0.10.0-alpha.1

This commit is contained in:
Sean McArthur
2019-10-08 13:51:32 -07:00
parent bb3d672cd8
commit 75ee4646ac
3 changed files with 18 additions and 5 deletions

View File

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

View File

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

View File

@@ -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
//!