Skip to content

v0.13.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@seanmonstar seanmonstar released this 24 Sep 19:48
· 718 commits to master since this release

Bug Fixes

  • client: allow client GET requests with explicit body headers (0867ad5c, closes #1925)

Features

  • body:
    • identify aborted body write errors (dc54ee19)
    • put Stream impl for Body behind stream feature (511ea388)
  • server: introduce Accept trait (b3e55062)

Breaking Changes

  • Using a Body as a Stream, and constructing one via
    Body::wrap_stream, require enabling the unstable-stream feature.

(511ea388)

  • Passing a Stream to Server::builder or
    Http::serve_incoming must be changed to pass an Accept instead. The
    unstable-stream optional feature can be enabled, and the a stream can be
    converted using hyper::server::accept::from_stream.

(b3e55062)