4.0.0-alpha.1
Pre-release
Pre-release
Breaking changes
- Raise minimum supported Rust version to 1.41
- Drop support for
reqwest
0.9 (previously enabled via thereqwest-09
feature flag); only the (default)reqwest-010
feature flag is now supported - Migrate public API from
http
0.1 to 0.2 - Drop support for
futures
0.1 and remove thefutures-01
andfutures-03
feature flags; only async/await is now supported (without requiring any feature flags) - Eliminate
Async*
traits and move therequest_async
methods to the underlying*Request
structs - Return error types that implement
std::error::Error
instead offailure::Fail
Other changes
- Remove
Send
andSync
trait bounds on error types to improve compatibility withactix
- Have
reqwest
client userustls-tls
instead of the default native TLS - Enable
serde
feature flag onurl
crate dependency - Upgrade
sha2
dependency - RUSTSEC-2016-0005: replace
rust-crypto
withhmac
in dev-dependencies - Remove unused
unicode-normalization
dependency - Rename
master
branch tomain