Skip to content

4.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ramosbugs ramosbugs released this 08 Jul 22:07
· 151 commits to main since this release
4c89e46

Breaking changes

  • Raise minimum supported Rust version to 1.41
  • Drop support for reqwest 0.9 (previously enabled via the reqwest-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 the futures-01 and futures-03 feature flags; only async/await is now supported (without requiring any feature flags)
  • Eliminate Async* traits and move the request_async methods to the underlying *Request structs
  • Return error types that implement std::error::Error instead of failure::Fail

Other changes

  • Remove Send and Sync trait bounds on error types to improve compatibility with actix
  • Have reqwest client use rustls-tls instead of the default native TLS
  • Enable serde feature flag on url crate dependency
  • Upgrade sha2 dependency
  • RUSTSEC-2016-0005: replace rust-crypto with hmac in dev-dependencies
  • Remove unused unicode-normalization dependency
  • Rename master branch to main