v0.11.0
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
# v0.11.0
|
||||
|
||||
- Change `multipart` to be an optional cargo feature.
|
||||
- Remove deprecated methods.
|
||||
|
||||
- Update to Tokio v1.0.
|
||||
- Update to Bytes v1.0.
|
||||
- Update to hyper v0.14.
|
||||
|
||||
## v0.10.10
|
||||
|
||||
- Add `tcp_keepalive` option to `blocking::ClientBuilder`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "reqwest"
|
||||
version = "0.10.10" # remember to update html_root_url
|
||||
version = "0.11.0" # remember to update html_root_url
|
||||
description = "higher level HTTP client library"
|
||||
keywords = ["http", "request", "client"]
|
||||
categories = ["web-programming::http-client", "wasm"]
|
||||
|
||||
@@ -23,8 +23,8 @@ optional features, so your `Cargo.toml` could look like this:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
reqwest = { version = "0.10", features = ["json"] }
|
||||
tokio = { version = "0.2", features = ["full"] }
|
||||
reqwest = { version = "0.11", features = ["json"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
```
|
||||
|
||||
And then the code:
|
||||
@@ -49,7 +49,7 @@ There is an optional "blocking" client API that can be enabled:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
reqwest = { version = "0.10", features = ["blocking", "json"] }
|
||||
reqwest = { version = "0.11", features = ["blocking", "json"] }
|
||||
```
|
||||
|
||||
```rust,no_run
|
||||
|
||||
@@ -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.10.10")]
|
||||
#![doc(html_root_url = "https://docs.rs/reqwest/0.11.0")]
|
||||
|
||||
//! # reqwest
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user