cargo hyper 0.13.0-alpha.2

latest releases: 0.14.17, 0.14.16, 0.14.15...
4 years ago

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)

Don't miss a new hyper release

NewReleases is sending notifications on new releases.